Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/lx.rb
Overview
Adds a single method to the Hash class. This is the only method that is added to the Hash class itself. Access LX utilities through the array’s new lx method.
For example, the use the move method, call the method like this:
hsh = {'a'=>1, 'b'=>2, 'c'=>3}
Instance Method Summary collapse
-
#lx ⇒ Object
Creates a LX::Array object and returns it.
Instance Method Details
#lx ⇒ Object
Creates a LX::Array object and returns it.
266 267 268 |
# File 'lib/lx.rb', line 266 def lx return LX::Hash.new(self) end |