Class: Cane::ThresholdCheck::UnavailableValue

Inherits:
Object
  • Object
show all
Defined in:
lib/cane/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/cane/threshold_check.rb', line 74

def >=(_); false end

#real?Boolean

Returns:

  • (Boolean)


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

def real?; false; end

#to_sObject



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

def to_s; 'unavailable' end