Exception: Winch::TypeError
- Inherits:
-
Exception
- Object
- Exception
- Winch::TypeError
- Defined in:
- lib/winch/base.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ TypeError
constructor
A new instance of TypeError.
Constructor Details
#initialize(options = {}) ⇒ TypeError
Returns a new instance of TypeError.
85 86 87 |
# File 'lib/winch/base.rb', line 85 def initialize(={}) self.object = [:object] end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
83 84 85 |
# File 'lib/winch/base.rb', line 83 def object @object end |