Exception: I18n::ReservedInterpolationKey
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- I18n::ReservedInterpolationKey
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#string ⇒ Object
readonly
Returns the value of attribute string.
Instance Method Summary collapse
-
#initialize(key, string) ⇒ ReservedInterpolationKey
constructor
A new instance of ReservedInterpolationKey.
Constructor Details
#initialize(key, string) ⇒ ReservedInterpolationKey
Returns a new instance of ReservedInterpolationKey.
100 101 102 103 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb', line 100 def initialize(key, string) @key, @string = key, string super "reserved key #{key.inspect} used in #{string.inspect}" end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
99 100 101 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb', line 99 def key @key end |
#string ⇒ Object (readonly)
Returns the value of attribute string.
99 100 101 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb', line 99 def string @string end |