Class: SugarCane::ThresholdCheck::UnavailableValue

Inherits:
Object
  • Object
show all
Defined in:
lib/sugarcane/threshold_check.rb

Overview

Null object for all cases when the value to be compared against cannot be read.

Instance Method Summary collapse

Instance Method Details

#<(_) ⇒ Object


74
# File 'lib/sugarcane/threshold_check.rb', line 74

def <(_); false; end

#<=(_) ⇒ Object


76
# File 'lib/sugarcane/threshold_check.rb', line 76

def <=(_); false; end

#>(_) ⇒ Object


75
# File 'lib/sugarcane/threshold_check.rb', line 75

def >(_); false; end

#>=(_) ⇒ Object


77
# File 'lib/sugarcane/threshold_check.rb', line 77

def >=(_); false; end

#real?Boolean

Returns:

  • (Boolean)

79
# File 'lib/sugarcane/threshold_check.rb', line 79

def real?; false; end

#to_sObject


78
# File 'lib/sugarcane/threshold_check.rb', line 78

def to_s; 'unavailable'; end