Exception: Redmineup::Currency::MissingAttributeError
- Inherits:
-
StandardError
- Object
- StandardError
- Redmineup::Currency::MissingAttributeError
- Defined in:
- lib/redmineup/currency.rb
Overview
Thrown when a Currency has been registered without all the attributes which are required for the current action.
Instance Method Summary collapse
-
#initialize(method, currency, attribute) ⇒ MissingAttributeError
constructor
A new instance of MissingAttributeError.
Constructor Details
#initialize(method, currency, attribute) ⇒ MissingAttributeError
Returns a new instance of MissingAttributeError.
23 24 25 26 27 28 |
# File 'lib/redmineup/currency.rb', line 23 def initialize(method, currency, attribute) super( "Can't call Currency.#{method} - currency '#{currency}' is missing "\ "the attribute '#{attribute}'" ) end |