Skip to content

Instantly share code, notes, and snippets.

@misfo
Created October 2, 2013 18:17
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 misfo/6798129 to your computer and use it in GitHub Desktop.
Save misfo/6798129 to your computer and use it in GitHub Desktop.
module Something
def somethings_method
end
class SomethingsConstant
end
end
extend Something
p somethings_method #=> nil
p SomethingsConstant #=> -:12:in `<main>': uninitialized constant SomethingsConstant (NameError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment