Class: NeoHash
- Inherits:
-
Object
- Object
- NeoHash
- Includes:
- Support
- Defined in:
- lib/neo_hash/neo_hash.rb,
lib/neo_hash/support.rb,
lib/neo_hash/version.rb
Overview
Hash with attribute accessor
Defined Under Namespace
Modules: Support
Constant Summary collapse
- VERSION =
'0.3.0'
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ NeoHash
constructor
Constructor.
Methods included from Support
#[], #[]=, #delete, #fetch, #include?, #method_missing, #to_h, #to_hash
Constructor Details
#initialize(h = {}) ⇒ NeoHash
Constructor
5 6 7 |
# File 'lib/neo_hash/neo_hash.rb', line 5 def initialize(h = {}) set_inner_hash(h) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class NeoHash::Support