Method: I18n::Inflector::API_Strict#aliases
- Defined in:
- lib/i18n-inflector/api_strict.rb
#aliases(kind) ⇒ Hash #aliases(kind, locale) ⇒ Hash
Gets inflection aliases belonging to a strict kind and their pointers.
564 565 566 |
# File 'lib/i18n-inflector/api_strict.rb', line 564 def aliases(kind=nil, locale=nil) each_alias(kind, locale).to_h end |