Method: I18n::Inflector::API_Strict#tokens_true
- Defined in:
- lib/i18n-inflector/api_strict.rb
permalink #tokens_true(kind) ⇒ Hash #tokens_true(kind, locale) ⇒ Hash Also known as: true_tokens
Note:
It returns only true tokens, not aliases.
Gets true inflection tokens belonging to a strict kind and their values.
522 523 524 |
# File 'lib/i18n-inflector/api_strict.rb', line 522 def tokens_true(kind=nil, locale=nil) each_token_true(kind, locale).to_h end |