Class: Timing::NaturalTimeLanguage::BeginningEnd
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Timing::NaturalTimeLanguage::BeginningEnd
- Defined in:
- lib/timing/natural_time_language_interpreters.rb
Instance Method Summary collapse
Instance Method Details
#beginning? ⇒ Boolean
143 144 145 |
# File 'lib/timing/natural_time_language_interpreters.rb', line 143 def beginning? direction.text_value.downcase == 'beginning' end |
#end? ⇒ Boolean
147 148 149 |
# File 'lib/timing/natural_time_language_interpreters.rb', line 147 def end? direction.text_value.downcase == 'end' end |