lib/my_age/calculator.rb in my_age-0.1.5 vs lib/my_age/calculator.rb in my_age-0.1.6
- old
+ new
@@ -25,10 +25,10 @@
end
end
private
def date_to_int(date)
- date.strftime("%Y%m%d").to_i
+ date.strftime("%Y%m%d").to_i
end
def today
Date.today
end