2006-10-12から1日間の記事一覧
あと1日。 まあ毎日書けているからいいか。
method_missing magic - emulating Groovy's "it" in Ruby。 people.select { |x| x.name.length > 10 }を people.select(&its.name.length > 10)と書けるよ、という話。すごい。 ブロックパラメータが冗長だなと感じることはたまにあるので、いいなと。 a =…
あと1日。 まあ毎日書けているからいいか。
method_missing magic - emulating Groovy's "it" in Ruby。 people.select { |x| x.name.length > 10 }を people.select(&its.name.length > 10)と書けるよ、という話。すごい。 ブロックパラメータが冗長だなと感じることはたまにあるので、いいなと。 a =…