Exception: Bankscrap::NotMoneyObjectError
- Inherits:
-
TypeError
- Object
- TypeError
- Bankscrap::NotMoneyObjectError
- Defined in:
- lib/bankscrap.rb
Instance Method Summary collapse
-
#initialize(attribute) ⇒ NotMoneyObjectError
constructor
A new instance of NotMoneyObjectError.
Constructor Details
#initialize(attribute) ⇒ NotMoneyObjectError
Returns a new instance of NotMoneyObjectError.
26 27 28 |
# File 'lib/bankscrap.rb', line 26 def initialize(attribute) super("#{attribute} should be a Money object") end |