Created
February 18, 2009 18:29
-
-
Save scudco/66460 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Foo | |
const_set "Some", Module.new do | |
module Boo;end | |
end | |
end | |
puts Foo::Some # => Foo::Some | |
puts Foo::Some::Boo # => foo.rb:9: uninitialized constant Foo::Some::Boo (NameError) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment