Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Ruby Programming/Reference/Objects/Array

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Class Methods Method: [ ] Signature: Array[ [anObject]* ] -> anArray Creates a new array whose elements are given between [ and ]. Array.[]( 1, 2, 3 ) -> [1,2,3] Array[ 1, 2, 3 ] -> [1,2,3] [1,2,3] -> [1,2,3]