Class: ObjectifyHash::GenericObject
- Inherits:
-
Object
- Object
- ObjectifyHash::GenericObject
- Includes:
- ObjectifyHash
- Defined in:
- lib/objectifyhash.rb
Constant Summary
Constants included from ObjectifyHash
EXCEPTIONS, NULLABLE_KEYS, VERSION
Instance Attribute Summary
Attributes included from ObjectifyHash
Instance Method Summary collapse
-
#initialize(hash) ⇒ GenericObject
constructor
A new instance of GenericObject.
Methods included from ObjectifyHash
#==, #[], #convert_and_define, #empty?, #eql?, #get_new_class, #ignore_equal, #method_missing, #objectify_array, #set, #to_h, #values_at
Constructor Details
#initialize(hash) ⇒ GenericObject
15 16 17 |
# File 'lib/objectifyhash.rb', line 15 def initialize hash convert_and_define hash end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ObjectifyHash