Created
January 2, 2018 12:34
-
-
Save pointcom/ad80a78f3c89cb4f092f1ccda811b3e0 to your computer and use it in GitHub Desktop.
Ruby 2.5
This file contains hidden or 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
# Before | |
irb(main):001:0> class Auth; end | |
=> nil | |
irb(main):002:0> class Twitter; end | |
=> nil | |
irb(main):003:0> Twitter::Auth | |
(irb):4: warning: toplevel constant Auth referenced by Twitter::Auth | |
# After | |
irb(main):001:0> class Auth; end | |
=> nil | |
irb(main):002:0> class Twitter; end | |
=> nil | |
irb(main):003:0> Twitter::Auth | |
Traceback (most recent call last): | |
2: from /usr/local/bin/irb:3:in `<main>' | |
1: from (irb):3 | |
NameError (uninitialized constant Twitter::Auth | |
Did you mean? Auth) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment