Skip to content

Instantly share code, notes, and snippets.



Created Mar 5, 2015
What would you like to do?
[1] pry(main)>
NoMethodError: undefined method `today' for Date:Class
from (pry):1:in `__pry__'
[2] pry(main)> require 'date'
=> true
[3] pry(main)>
=> #<Date: 2015-03-05 ((2457087j,0s,0n),+0s,2299161j)>
[4] pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment