Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Ruby Programming/Reference/Objects/Array

From Wikibooks, open books for an open world
<Ruby Programming |Reference |Objects

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]
Retrieved from "https://en.wikibooks.org/w/index.php?title=Ruby_Programming/Reference/Objects/Array&oldid=3353946"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp