Class: ReeObject::DeepFreeze

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_object/package/ree_object/functions/deep_freeze.rb

Instance Method Summary collapse

Instance Method Details

#call(obj) ⇒ Object



16
17
18
# File 'lib/ree_lib/packages/ree_object/package/ree_object/functions/deep_freeze.rb', line 16

def call(obj)
  recursively_freeze(obj, {})
end