Class: ObjectifyHash::GenericObject

Inherits:
Object
  • Object
show all
Includes:
ObjectifyHash
Defined in:
lib/objectifyhash.rb

Constant Summary

Constants included from ObjectifyHash

EXCEPTIONS, NULLABLE_KEYS, VERSION

Instance Attribute Summary

Attributes included from ObjectifyHash

#values_to_compare

Instance Method Summary collapse

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



16
17
18
# File 'lib/objectifyhash.rb', line 16

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