class Object
Constants
- Abc
add convenience aliases - also add
Alpha
- why? why not?- Alpha
- Alphabets
Public Instance Methods
downcase_i18n( name )
click to toggle source
add “global” convenience helper
# File lib/alphabets.rb, line 17 def downcase_i18n( name ) Alphabet.downcase_i18n( name ) end
unaccent( name )
click to toggle source
# File lib/alphabets.rb, line 21 def unaccent( name ) Alphabet.unaccent( name ) ## using "default" language character mapping / table end
undiacritic( name )
click to toggle source
# File lib/alphabets.rb, line 25 def undiacritic( name ) unaccent( name ); end
variants( name )
click to toggle source
# File lib/alphabets.rb, line 29 def variants( name ) ## todo/check: rename to unaccent_variants or unaccent_names - why? why not? Variant.find( name ) end