Actions
Bug #7670
closedmain.include should be private
    Bug #7670:
    main.include should be private
  
Description
Module#include is private, but main.include seems to be public:
self.include Enumerable #=> no error
It should be private, shouldn't it?
        
           Updated by matz (Yukihiro Matsumoto) almost 13 years ago
          Updated by matz (Yukihiro Matsumoto) almost 13 years ago
          
          
        
        
      
      - Assignee changed from matz (Yukihiro Matsumoto) to shugo (Shugo Maeda)
Agreed.
Matz.
        
           Updated by shugo (Shugo Maeda) almost 13 years ago
          Updated by shugo (Shugo Maeda) almost 13 years ago
          
          
        
        
      
      - Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r38731.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- 
eval.c (Init_eval): main.include should be private. 
 [ruby-core:51293] [Bug #7670]
- 
test/ruby/test_module.rb (test_top_include_is_private): a new test 
 for the above change.
Actions