Class: LX::Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/lx.rb

Overview

A helper class to add methods to the Hash class. When you use the Hash::lx you’re creating an instance of LX::Hash.

Instance Method Summary collapse

Constructor Details

#initialize(p_hsh) ⇒ Hash

initialize a LX::Array object. The only param is the array itself.



275
276
277
# File 'lib/lx.rb', line 275

def initialize(p_hsh)
	@hsh = p_hsh
end

Instance Method Details

#deep_dupObject

deep_dup



280
281
282
# File 'lib/lx.rb', line 280

def deep_dup
	return LX.deep_dup(@hsh)
end