2009-02-05から1日間の記事一覧

ruby1.9: enumerator

enumeratorのジェネレータ生成部分のソースコードを読む。 /* * call-seq: * enum.each {...} * * Iterates the given block using the object and the method specified * in the first place. If no block is given, returns self. * */ static VALUE enum…