Class: Hashie::Trash
- Includes:
- Extensions::Dash::PropertyTranslation
- Defined in:
- lib/hashie/trash.rb
Overview
A Trash is a 'translated' Dash where the keys can be remapped from a source hash.
Trashes are useful when you need to read data from another application, such as a Java api, where the keys are named differently from how we would in Ruby.
Method Summary
Methods included from Extensions::Dash::PropertyTranslation
Methods inherited from Dash
#[], #[]=, inherited, #initialize, #merge, #merge!, property, property?, #replace, required?, #to_h, #update_attributes!
Methods included from Extensions::PrettyInspect
Methods inherited from Hash
Methods included from Extensions::StringifyKeys
#stringify_keys, #stringify_keys!
Methods included from Extensions::StringifyKeys::ClassMethods
#stringify_keys, #stringify_keys!, #stringify_keys_recursively!
Constructor Details
This class inherits a constructor from Hashie::Dash