Class: Timing::NaturalTimeLanguage::Now

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



33
34
35
# File 'lib/timing/natural_time_language_interpreters.rb', line 33

def evaluate(zone_offset)
  TimeInZone.now zone_offset
end