2007-09-06から1日間の記事一覧

[ruby] qw

perl でいう for(qw/hoge toge/){ print $_ ."\n" }; が rubyだと %W/hoge toge/.each { |str| p str } だったのを思い出した。Wが出てこなかった orz