Class: Timing::NaturalTimeLanguage::Today
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Timing::NaturalTimeLanguage::Today
- Defined in:
- lib/timing/natural_time_language_interpreters.rb
Instance Method Summary collapse
Instance Method Details
#evaluate(zone_offset) ⇒ Object
39 40 41 |
# File 'lib/timing/natural_time_language_interpreters.rb', line 39 def evaluate(zone_offset) TimeInZone.now(zone_offset).beginning_of_day end |