Exception: Hashie::Extensions::KeyConflictWarning::CannotDisableMashWarnings

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hashie/extensions/key_conflict_warning.rb

Instance Method Summary collapse

Constructor Details

#initializeCannotDisableMashWarnings

Returns a new instance of CannotDisableMashWarnings.



5
6
7
8
9
10
# File 'lib/hashie/extensions/key_conflict_warning.rb', line 5

def initialize
  super(
    'You cannot disable warnings on the base Mash class. ' \
    'Please subclass the Mash and disable it in the subclass.'
  )
end