Skip to content

Instantly share code, notes, and snippets.

@Mikoangelo
Created January 20, 2010 15:56
Show Gist options
  • Save Mikoangelo/281937 to your computer and use it in GitHub Desktop.
Save Mikoangelo/281937 to your computer and use it in GitHub Desktop.
module Foo
module Object
module Bar
Object::Foo rescue "Not found." # => "Not found."
Object::Bar # => Foo::Object::Bar
::Foo # => Foo
::Bar rescue "Not found." # => "Not found."
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment