作者: Bruce.
日時: 2009/4/30(22:03)
ぺたっ

>irb
irb(main):001:0> [*1..5]
=> [1, 2, 3, 4, 5]
irb(main):002:0> [*1..5].inject(:*)
=> 120
irb(main):003:0> RUBY_VERSION
=> "1.8.7"
irb(main):004:0>


-- 
木村浩一/KIMURA Koichi
 I thought what I'd do was, I'd pretend I was one of those deaf-mutes or
shoud I?
 mail kbk at kt.rim.or.jp
 web  www.kt.rim.or.jp/~kbk/zakkicho/index.html

-- 
木村浩一/KIMURA Koichi
 I thought what I'd do was, I'd pretend I was one of those deaf-mutes or
shoud I?
 mail kbk at kt.rim.or.jp
 web  www.kt.rim.or.jp/~kbk/zakkicho/index.html