From: shugo@... Date: 2015-03-05T02:52:54+00:00 Subject: [ruby-core:68419] [Ruby trunk - Bug #10818] Extrange behaviour when apliying a refinement inside eval Issue #10818 has been updated by Shugo Maeda. Assignee changed from Yukihiro Matsumoto to Shugo Maeda Shugo Maeda wrote: > I'd like to hear Matz's opinion. I talked with Matz, and he said that a binding should keep refinements activation information and the refinements should be activated in subsequent eval calls with the binding. So I'll change the behavior of eval as follows: ```ruby module M refine String do def foobar; puts 'foobar'; end end end some_binding = class A; binding; end str1 = <