-
-
Save tai2/acfe7d3db31254538667ca46a3507de0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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