abstract class Cadmium::TenseInflector

Direct Known Subclasses

Defined in:

cadmium/inflector/form_set.cr
cadmium/inflector/tense_inflector.cr

Instance Method Summary

Instance Method Detail

def add_ambiguous(words) #

Add an ambiguous word (a word who's singular form and plural form are the same), or a whole array of them to the list.


[View source]
def add_form(singular_table, plural_table, singular, plural) #

[View source]
def add_irregular(singular, plural) #

[View source]
def add_plural(pattern, replacement) #

[View source]
def add_singular(pattern, replacement) #

[View source]
def ize(token, form_set, custom_forms) #

[View source]
def ize_ambiguous(token) #

[View source]
def ize_regex(token, forms) #

[View source]
def ize_regulars(token, form_set) #

[View source]
def pluralize(token) #

[View source]
def restore_case(token) #

[View source]
def singularize(token) #

[View source]