Actions
Bug #14671
closedRefining Module#refine itself introduces strange state
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.0dev (2018-04-09 trunk 63122) [x86_64-darwin15]
Tags:
Description
using Module.new {
refine Module do
def refine *;
puts self
end
public :refine
end
}
Object.refine # => NoMethodError
It is possible to refine Module#refine, but there seems to be no way to call it.
Actions
Like0
Like0