Hatena::Groupruby

mrのRuby学習帳 このページをアンテナに追加 RSSフィード

2009-09-26

arrayの+メソッド arrayの+メソッド - mrのRuby学習帳 を含むブックマーク

irb(main):001:0> a = [1,2,3]
=> [1, 2, 3]
irb(main):002:0> b = ["a","b","c"]
=> ["a", "b", "c"]
irb(main):003:0> c = a + b
=> [1, 2, 3, "a", "b", "c"]
irb(main):004:0>