instance method
uncountable?
Ruby on Rails 5.2.8.1
Since v5.2.8.1 Last seen in v8.0.4Signature
uncountable?(str)
No documentation comment.
Parameters
-
strreq
Source
# File activesupport/lib/active_support/inflector/inflections.rb, line 56
def uncountable?(str)
@regex_array.any? { |regex| regex.match? str }
end
Defined in activesupport/lib/active_support/inflector/inflections.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Inflector::Inflections::Uncountables