Method: I18n::Inflector::InflectionOptions#prepare_options!
- Defined in:
- lib/i18n-inflector/options.rb
permalink #prepare_options!(options) ⇒ Hash
Note:
It modifies the given object.
This method processes the given argument in a way that it will use default values for options that are missing.
304 305 306 307 308 309 |
# File 'lib/i18n-inflector/options.rb', line 304 def () self.class.known. reject { |name,long| .has_key?(long) }. each { |name,long| [long] = instance_variable_get(name) } end |