Exception: WheretocardError
- Inherits:
-
StandardError
- Object
- StandardError
- WheretocardError
- Defined in:
- lib/wheretocard/wheretocard_error.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ WheretocardError
constructor
A new instance of WheretocardError.
Constructor Details
#initialize(object) ⇒ WheretocardError
Returns a new instance of WheretocardError.
4 5 6 |
# File 'lib/wheretocard/wheretocard_error.rb', line 4 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
2 3 4 |
# File 'lib/wheretocard/wheretocard_error.rb', line 2 def object @object end |