module Kernel
def test
[1,2,3].map do |t|
Object
end
end
end
p test
# mruby => t.rb:5: uninitialized constant Object (NameError)
# ruby => [Object, Object, Object]
module Hoge
def test
[1,2,3].map do |t|
Object
end
end
end
class Test
include Hoge
end
p Test.new.test