public
Last active

Ruby Gripe List

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10
# 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.