Issue #5067 has been updated by Eric Hodel.


In light of the workaround required to access Ruby classes descending from Object I think "very useful as the base class for DSLs" is not quite accurate.

I think the first paragraph should say something more like "useful for creating object systems that won't be interfered with Ruby's object system" and the second paragraph should explain various workarounds required.

It might be useful to mention you can include Kernel in BasicObject descendants to provide access to methods like open, require, etc.
----------------------------------------
Bug #5067: BasicObject's constant lookup documentation
http://redmine.ruby-lang.org/issues/5067

Author: Shyouhei Urabe
Status: Open
Priority: Normal
Assignee: 
Category: DOC
Target version: 
ruby -v: doesn't matter


Take a look at https://github.com/ruby/ruby/pull/31 .

It's OK for me to merge this request -- no technical difficulties -- but is it a right thing to be documented?


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