Method: I18n::Inflector::InflectionOptions#clean_for_translate!
- Defined in:
- lib/i18n-inflector/options.rb
permalink #clean_for_translate!(options) ⇒ Hash
Note:
It modifies the given object.
This method prepares options for translate method. That means removal of all kind-related options and all options that are flags.
319 320 321 322 |
# File 'lib/i18n-inflector/options.rb', line 319 def clean_for_translate!() self.class.known.each { |name,long| .delete long } end |