class method
self.new
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.new(entry, count)
No documentation comment.
Parameters
-
entryreq -
countreq
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb, line 32
def initialize(entry, count)
@entry, @count = entry, count
super "translation data #{entry.inspect} can not be used with :count => #{count}"
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb line 32
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::InvalidPluralizationData