Exception: WheretocardError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/wheretocard/wheretocard_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#objectObject (readonly)

Returns the value of attribute object.



2
3
4
# File 'lib/wheretocard/wheretocard_error.rb', line 2

def object
  @object
end