Exception: I18n::InvalidPluralizationData
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- I18n::InvalidPluralizationData
- 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
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#entry ⇒ Object
readonly
Returns the value of attribute entry.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(entry, count, key) ⇒ InvalidPluralizationData
constructor
A new instance of InvalidPluralizationData.
Constructor Details
#initialize(entry, count, key) ⇒ InvalidPluralizationData
Returns a new instance of InvalidPluralizationData.
84 85 86 87 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb', line 84 def initialize(entry, count, key) @entry, @count, @key = entry, count, key super "translation data #{entry.inspect} can not be used with :count => #{count}. key '#{key}' is missing." end |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
83 84 85 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb', line 83 def count @count end |
#entry ⇒ Object (readonly)
Returns the value of attribute entry.
83 84 85 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb', line 83 def entry @entry end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
83 84 85 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/exceptions.rb', line 83 def key @key end |