Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@edwardloveall
Last active September 22, 2018 21:30
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 edwardloveall/da12432b41704187c1a175dceffe3e7a to your computer and use it in GitHub Desktop.
Save edwardloveall/da12432b41704187c1a175dceffe3e7a to your computer and use it in GitHub Desktop.
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