Exception: Checkmobi::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Checkmobi::Error
- Defined in:
- lib/checkmobi/exceptions/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(message = nil, object = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, object = nil) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'lib/checkmobi/exceptions/exceptions.rb', line 6 def initialize( = nil, object = nil) super() @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
4 5 6 |
# File 'lib/checkmobi/exceptions/exceptions.rb', line 4 def object @object end |