class
Wordsmith::Inflector::Inflections::Uncountables
- Wordsmith::Inflector::Inflections::Uncountables
- Reference
- Object
Overview
Create and manipulate the set of words that Wordsmith should leave as-is.
Defined in:
wordsmith/inflector/inflections.crConstructors
-
.new
Create a new object to store the collection of uncountable words and patterns.
Macro Summary
Instance Method Summary
-
#<<(*word) : self
Add an entry to the set of uncountable words and patterns.
-
#add(words : Enumerable) : self
Add an entry to the set of uncountable words and patterns.
-
#delete(entry) : Nil
Remove an entry from the set of uncountable words and patterns.
-
#uncountable?(str : String) : Bool
Check whether or not a provided string is currently considered uncountable.
Constructor Detail
Macro Detail
Instance Method Detail
def uncountable?(str : String) : Bool
#
Check whether or not a provided string is currently considered uncountable.