Top Level Namespace
Defined Under Namespace
Classes: Alphabet, NameQuery, Variant
Constant Summary collapse
- Abc =
add convenience aliases - also add Alpha - why? why not?
Alphabet
- Alphabets =
Alphabet
- Alpha =
Alphabet
Instance Method Summary collapse
-
#downcase_i18n(name) ⇒ Object
add “global” convenience helper.
- #unaccent(name) ⇒ Object
-
#undiacritic(name) ⇒ Object
alias for unaccent.
-
#variants(name) ⇒ Object
todo/check: rename to unaccent_variants or unaccent_names - why? why not?.
Instance Method Details
#downcase_i18n(name) ⇒ Object
add “global” convenience helper
17 18 19 |
# File 'lib/alphabets.rb', line 17 def downcase_i18n( name ) Alphabet.downcase_i18n( name ) end |
#unaccent(name) ⇒ Object
21 22 23 |
# File 'lib/alphabets.rb', line 21 def unaccent( name ) Alphabet.unaccent( name ) ## using "default" language character mapping / table end |
#undiacritic(name) ⇒ Object
alias for unaccent
25 |
# File 'lib/alphabets.rb', line 25 def undiacritic( name ) unaccent( name ); end |