Advertisement

Arrays

  • Matt Clements
Chapter

Abstract

Ruby arrays are integer–indexed arrays starting at position 0, rather like Java or C. Negative values can be used to retrieve values from the array from the end, so −1 would show the last element of an array, and −2 would show the second from last element.

Keywords

Preceding Method Index Position Final Array Array Method Array Length 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Matt Clements 2014

Authors and Affiliations

  • Matt Clements
    • 1
  1. 1.BucksUK

Personalised recommendations