class Array

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

Public Instance Methods

lx() click to toggle source

Creates a LX::Array object and returns it.

# File lib/lx.rb, line 187
def lx
        return LX::Array.new(self)
end