class Money::Currency::MissingAttributeError
Thrown when a Currency
has been registered without all the attributes which are required for the current action.
Public Class Methods
new(method, currency, attribute)
click to toggle source
Calls superclass method
# File lib/money/currency.rb, line 26 def initialize(method, currency, attribute) super( "Can't call Currency.#{method} - currency '#{currency}' is missing "\ "the attribute '#{attribute}'" ) end