From: Thomas Sawyer Date: 2010-08-31T04:08:13+09:00 Subject: [ruby-core:31956] [Ruby 1.9-Bug#3768][Open] Constant Lookup doesn't work in a subclass of BasicObject Bug #3768: Constant Lookup doesn't work in a subclass of BasicObject http://redmine.ruby-lang.org/issues/show/3768 Author: Thomas Sawyer Status: Open, Priority: Normal Category: lib ruby -v: 1.9.2-p0 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 `
' ---------------------------------------- http://redmine.ruby-lang.org