Method: I18n::Inflector::InflectionData_Strict#has_token?
- Defined in:
- lib/i18n-inflector/inflection_data_strict.rb
permalink #has_token?(token, kind) ⇒ Boolean
Tests if the given token (or alias) of the given strict kind is present.
118 119 120 |
# File 'lib/i18n-inflector/inflection_data_strict.rb', line 118 def has_token?(token, kind) @tokens[kind].has_key?(token) end |