Methods
#
A
D
N
U
Class Public methods
new()
# File activesupport/lib/active_support/inflector/inflections.rb, line 33
def initialize
  @regex_array = []
  super
end
Instance Public methods
<<(*word)
# File activesupport/lib/active_support/inflector/inflections.rb, line 43
def <<(*word)
  add(word)
end
add(words)
# File activesupport/lib/active_support/inflector/inflections.rb, line 47
def add(words)
  words = words.flatten.map(&:downcase)
  concat(words)
  @regex_array += words.map { |word| to_regex(word) }
  self
end
delete(entry)
# File activesupport/lib/active_support/inflector/inflections.rb, line 38
def delete(entry)
  super entry
  @regex_array.delete(to_regex(entry))
end
uncountable?(str)
# File activesupport/lib/active_support/inflector/inflections.rb, line 54
def uncountable?(str)
  @regex_array.any? { |regex| regex.match? str }
end