Class: I18nFlow::Validator::ExtraKeyError
- Defined in:
- lib/i18n_flow/validator/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(key, single: false) ⇒ ExtraKeyError
constructor
A new instance of ExtraKeyError.
Methods inherited from Error
#==, #data, #set_location, #single?
Constructor Details
#initialize(key, single: false) ⇒ ExtraKeyError
Returns a new instance of ExtraKeyError.
46 47 48 49 |
# File 'lib/i18n_flow/validator/errors.rb', line 46 def initialize(key, single: false) super(key) @single = single end |