Project

General

Profile

Actions

Feature #7251

closed

using usings in usinged Module

Feature #7251: using usings in usinged Module

Added by matsuda (Akira Matsuda) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
[ruby-dev:46326]

Description

I suspect Kernel#using to using all the already usinged Refinements in usinged Module. For example:

module X
refine Fixnum do
def foo; p :foo; end
end
end

module Y
refine Fixnum do
def bar; p :bar; end
end
end

module Z
using X
using Y
end

class Foo
using Z
p 1.foo
p 1.bar
end

(original gist here: https://gist.github.com/3985735 )


Related issues 1 (0 open1 closed)

Related to Ruby - Feature #4085: Refinements and nested methodsClosedshugo (Shugo Maeda)Actions

Updated by matsuda (Akira Matsuda) almost 13 years ago Actions #1 [ruby-dev:46327]

s/suspect/expect/

Updated by shugo (Shugo Maeda) almost 13 years ago Actions #2 [ruby-dev:46335]

  • Status changed from Open to Assigned

Updated by shugo (Shugo Maeda) almost 13 years ago Actions #3

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r37399.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Actions

Also available in: PDF Atom