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.



32
33
34
35
# File 'lib/rio/exception/state.rb', line 32

def initialize(obj)
  super
  @obj = obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



31
32
33
# File 'lib/rio/exception/state.rb', line 31

def obj
  @obj
end

Instance Method Details

#to_sObject



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

def to_s() @obj.to_s end