Exception: HotDogPrincess::Error
- Inherits:
-
StandardError
- Object
- StandardError
- HotDogPrincess::Error
- Defined in:
- lib/hotdogprincess/error.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
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.
4 5 6 7 |
# File 'lib/hotdogprincess/error.rb', line 4 def initialize( = nil, object = nil) super() self.object = object end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
3 4 5 |
# File 'lib/hotdogprincess/error.rb', line 3 def object @object end |