2008-07-25 これも違う C = Class.new { def f [1,2,3].each {|x| yield x } end define_method(:g) { [1,2,3].each {|x| yield x } } }