2013-02-26 配列 Ruby arr = [1,2,3] arr << 4 p (arr[0]) # => 1 p (arr[3]) # => 4 http://doc.ruby-lang.org/ja/1.9.2/class/Array.html