Skip to content

Instantly share code, notes, and snippets.

@tai2
Created January 27, 2018 15:52
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 tai2/acfe7d3db31254538667ca46a3507de0 to your computer and use it in GitHub Desktop.
Save tai2/acfe7d3db31254538667ca46a3507de0 to your computer and use it in GitHub Desktop.
module A
def hoge
puts 'hoge'
end
end
A.hoge # a.rb:7:in `<main>': undefined method `hoge' for A:Module (NoMethodError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment