Method: I18n::InflectionOptionNotFound#message
- Defined in:
- lib/i18n-inflector/errors.rb
permalink #message ⇒ Object
[View source]
75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/i18n-inflector/errors.rb', line 75 def kind = @kind.to_s unless kind.empty? if kind[0..0] == I18n::Inflector::Config::Markers::STRICT_KIND kindmsg = ":#{kind} (or :#{kind[1..-1]})" else kindmsg = kind.to_sym.inspect end end "" << super << "required option #{kindmsg} was not found" end |