Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Refinements: method can't use other methods from refinement #5545
Provide at least:
I'd expect to reuse methods from a refinement within the same refinement.
module Ext refine Array do def a puts "a" end def b a puts "b" end end end using Ext .b #=> expects "a" then "b"
This works in CRuby since version 2.1
Fixed for 9.2.7.