Exception: Webpoke::TestError
- Inherits:
-
StandardError
- Object
- StandardError
- Webpoke::TestError
- Defined in:
- lib/Webpoke/Test.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(message = nil, object = nil) ⇒ TestError
constructor
A new instance of TestError.
Constructor Details
#initialize(message = nil, object = nil) ⇒ TestError
Returns a new instance of TestError.
153 154 155 156 |
# File 'lib/Webpoke/Test.rb', line 153 def initialize(=nil, object=nil) super() self.object = object end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
152 153 154 |
# File 'lib/Webpoke/Test.rb', line 152 def object @object end |