Class: Predicator::Nodes::DateNode
- Defined in:
- lib/predicator/nodes/date_node.rb
Instance Attribute Summary
Attributes inherited from BaseNode
Instance Method Summary collapse
Methods inherited from BaseNode
#blank?, class_for, #compare_to_fixnum, #compare_to_float, #compare_to_nil, #compare_to_string, #comparison_method, #initialize, #present?
Constructor Details
This class inherits a constructor from Predicator::Nodes::BaseNode
Instance Method Details
#compare_to_date ⇒ Object
8 9 10 |
# File 'lib/predicator/nodes/date_node.rb', line 8 def compare_to_date value end |
#type ⇒ Object
4 5 6 |
# File 'lib/predicator/nodes/date_node.rb', line 4 def type :date end |