method

uncountable?

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: Uncountables
uncountable?(str) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/inflector/inflections.rb, line 68
        def uncountable?(str)
          if @pattern.nil?
            members_pattern = Regexp.union(@members.map { |w| /#{Regexp.escape(w)}/ })
            @pattern = /\b#{members_pattern}\Z/
          end
          @pattern.match?(str)
        end
Register or log in to add new notes.