module

LuckyInflector::Inflector

Instance methods

camelize(term, uppercase_first_letter = true)
Source
classify(table_name)
Source
dasherize(underscored_word)
Source
deconstantize(path)
Source
demodulize(path)
Source
foreign_key(class_name, separate_class_name_and_id_with_underscore = true)
Source
humanize(lower_case_and_underscored_word, capitalize = true, keep_id_suffix = false)
Source
inflections
Source
ordinal(number)
Source
ordinalize(number)
Source
pluralize(word)
Source
singularize(word)
Source
tableize(class_name)
Source
titleize(word, keep_id_suffix = false)
Source
underscore(camel_cased_word)
Source
upcase_first(string)
Source

Nested types