Method: I18n::Inflector::InflectionData_Strict#has_alias?
- Defined in:
- lib/i18n-inflector/inflection_data_strict.rb
permalink #has_alias?(alias_name, kind) ⇒ Boolean
Tests if the given alias of the given strict kind is really an alias.
147 148 149 |
# File 'lib/i18n-inflector/inflection_data_strict.rb', line 147 def has_alias?(alias_name, kind) not @tokens[kind][alias_name][:target].nil? end |