Last active
September 22, 2018 21:30
-
-
Save edwardloveall/da12432b41704187c1a175dceffe3e7a to your computer and use it in GitHub Desktop.
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
class TimeThing | |
CONSTANT = 1.year.from_now | |
def method | |
1.year.from_now | |
end | |
end | |
while true | |
puts TimeThing::CONSTANT | |
puts TimeThing.new.method | |
sleep 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment