Skip to content

Instantly share code, notes, and snippets.

@pvande
Created March 22, 2011 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvande/881504 to your computer and use it in GitHub Desktop.
Save pvande/881504 to your computer and use it in GitHub Desktop.
Ruby Gripe List
# Qualified constant names are broken
class X
def self.const_missing(name)
raise "Nope!"
end
end
X::String # => ::String
X::Object # => ::Object
::X::Kernel # => ::Kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment