Created
December 21, 2016 08:24
-
-
Save dulao5/2da922c61c11239e72c7a62a435127a0 to your computer and use it in GitHub Desktop.
NilClass debug
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
# debug error : undefined method stage for nil:NilClass | |
class NilClass | |
def stage | |
puts caller.join("\t") | |
nil | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment