Class: Timing::NaturalTimeLanguage::Tomorrow

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/timing/natural_time_language_interpreters.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(zone_offset) ⇒ Object



51
52
53
# File 'lib/timing/natural_time_language_interpreters.rb', line 51

def evaluate(zone_offset)
  TimeInZone.now(zone_offset).beginning_of_day + Interval.days(1)
end