vm.c (rb_vm_cref_in_context): Module#define_method in non-class expression should be public. [Bug #11754]
test/ruby/test_method.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
vm.c (rb_vm_cref_in_context): Module#define_method in non-class
expression should be public.
[Bug #11754]
test/ruby/test_method.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e