From: merch-redmine@... Date: 2019-10-18T00:24:05+00:00 Subject: [ruby-core:95409] [Ruby master Bug#13752] Can't observe sibling refinements Issue #13752 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Assigned to Closed This appears to be fixed in the master branch (printing `foo`), though it is still broken in 2.6. Not sure what commit fixed it. ---------------------------------------- Bug #13752: Can't observe sibling refinements https://bugs.ruby-lang.org/issues/13752#change-82157 * Author: shyouhei (Shyouhei Urabe) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.0dev (2017-07-18 trunk 59355) [x86_64-darwin15] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Sorry in advance if already reported elsewhere, but is this intentional? ```ruby class Foo using Module.new { refine Foo do def foo puts "foo" end end } using Module.new { refine Foo do def bar foo end end } new.bar end ``` -- https://bugs.ruby-lang.org/ Unsubscribe: