Exception: I18n::MissingInterpolationArgument
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- I18n::MissingInterpolationArgument
- Defined in:
- lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb
Instance Attribute Summary collapse
-
#string ⇒ Object
readonly
Returns the value of attribute string.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(values, string) ⇒ MissingInterpolationArgument
constructor
A new instance of MissingInterpolationArgument.
Constructor Details
#initialize(values, string) ⇒ MissingInterpolationArgument
Returns a new instance of MissingInterpolationArgument.
40 41 42 43 |
# File 'lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb', line 40 def initialize(values, string) @values, @string = values, string super "missing interpolation argument in #{string.inspect} (#{values.inspect} given)" end |
Instance Attribute Details
#string ⇒ Object (readonly)
Returns the value of attribute string.
39 40 41 |
# File 'lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb', line 39 def string @string end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
39 40 41 |
# File 'lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb', line 39 def values @values end |