Class: Timing::NaturalTimeLanguage::BeforeFrom
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Timing::NaturalTimeLanguage::BeforeFrom
- Defined in:
- lib/timing/natural_time_language_interpreters.rb
Instance Method Summary collapse
Instance Method Details
#before? ⇒ Boolean
163 164 165 |
# File 'lib/timing/natural_time_language_interpreters.rb', line 163 def before? text_value.downcase == 'before' end |
#from? ⇒ Boolean
167 168 169 |
# File 'lib/timing/natural_time_language_interpreters.rb', line 167 def from? text_value.downcase == 'from' end |