Exception: RIO::Exception::FailedCheck

Inherits:
State show all
Defined in:
lib/rio/exception/state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ FailedCheck

Returns a new instance of FailedCheck.



43
44
45
46
# File 'lib/rio/exception/state.rb', line 43

def initialize(obj)
  super
  @obj = obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



42
43
44
# File 'lib/rio/exception/state.rb', line 42

def obj
  @obj
end

Instance Method Details

#to_sObject



47
# File 'lib/rio/exception/state.rb', line 47

def to_s() @obj.to_s end