Exception: Winch::TypeError

Inherits:
Exception
  • Object
show all
Defined in:
lib/winch/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ TypeError

Returns a new instance of TypeError.



85
86
87
# File 'lib/winch/base.rb', line 85

def initialize(options={})
  self.object = options[:object]
end

Instance Attribute Details

#objectObject

Returns the value of attribute object.



83
84
85
# File 'lib/winch/base.rb', line 83

def object
  @object
end