From: "shugo (Shugo Maeda)" <redmine@...>
Date: 2013-01-07T16:07:59+09:00
Subject: [ruby-core:51293] [ruby-trunk - Bug #7670][Open] main.include should be private


Issue #7670 has been reported by shugo (Shugo Maeda).

----------------------------------------
Bug #7670: main.include should be private
https://bugs.ruby-lang.org/issues/7670

Author: shugo (Shugo Maeda)
Status: Open
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-01-07 trunk 38725) [i686-linux]


Module#include is private, but main.include seems to be public:

  self.include Enumerable  #=> no error

It should be private, shouldn't it?



-- 
http://bugs.ruby-lang.org/