Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/lx.rb
Overview
Adds a single method to the Array class. This is the only method that is added to the Array class itself. Access LX utilities through the array’s new lx
method.
For example, the use the move method, call the method like this:
arr = ['a', 'b', 'c']
arr.lx.move 1, 2
Instance Method Summary collapse
-
#lx ⇒ Object
Creates a LX::Array object and returns it.