2014-06-12から1日間の記事一覧
2014/8/7追記: Enumeratorクラスのwith_indexメソッドの方が美しいです。each_char.each_with_indexなんて泥臭い事をせずとも...with_indexがあるんじゃよ - Bye Bye Moore > str = ('a'..'z').to_a.join => "abcdefghijklmnopqrstuvwxyz" という文字列があ…
2014/8/7追記: Enumeratorクラスのwith_indexメソッドの方が美しいです。each_char.each_with_indexなんて泥臭い事をせずとも...with_indexがあるんじゃよ - Bye Bye Moore > str = ('a'..'z').to_a.join => "abcdefghijklmnopqrstuvwxyz" という文字列があ…