From: Thomas Sawyer Date: 2011-08-10T06:35:34+09:00 Subject: [ruby-core:38883] [Ruby 1.9 - Feature #3768] Constant Lookup doesn't work in a subclass of BasicObject Issue #3768 has been updated by Thomas Sawyer. Okay. That's great. Reading it over I have a couple of impressions that could help improve upon it: 1) The use of "standard library" is confusing, in contrast to core vs. standard libs. 2) There is no mention of "constant look-up" which would be more technically poignant. 3) The word "like" is a bit over-used. So when you get a chance maybe you can work these consideration in. Thanks. I will close this ticket. ---------------------------------------- Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject http://redmine.ruby-lang.org/issues/3768 Author: Thomas Sawyer Status: Rejected Priority: Normal Assignee: Yukihiro Matsumoto Category: lib Target version: =begin ruby-1.9.2-p0 > module M ruby-1.9.2-p0 ?> end => nil ruby-1.9.2-p0 > class X < BasicObject ruby-1.9.2-p0 ?> include M ruby-1.9.2-p0 ?> end NameError: uninitialized constant X::M from (irb):4:in `' from (irb):3 from /home/trans/.rvm/rubies/ruby-1.9.2-p0/bin/irb:17:in `
' =end -- http://redmine.ruby-lang.org