from(position) public

Returns the tail of the array from position.

%w( a b c d ).from(0) # => %w( a b c d ) %w( a b c d ).from(2) # => %w( c d ) %w( a b c d ).from(10) # => %w() %w().from(0) # => %w()
Show source
Register or log in to add new notes.