Class: SmqlToAR::ConditionTypes::StringTimeGreaterThanOrEqual
- Inherits:
-
Condition
- Object
- Condition
- SmqlToAR::ConditionTypes::StringTimeGreaterThanOrEqual
- Defined in:
- lib/smql_to_ar/condition_types.rb
Constant Summary
Constants inherited from Condition
Condition::Expected, Condition::Operator, Condition::Where
Instance Attribute Summary
Attributes inherited from Condition
Instance Method Summary collapse
-
#initialize(model, cols, val) ⇒ StringTimeGreaterThanOrEqual
constructor
A new instance of StringTimeGreaterThanOrEqual.
Methods inherited from Condition
#condition_build, inspect, #inspect, try_parse, #verify, #verify_allowed, #verify_column
Methods included from Assertion
Constructor Details
#initialize(model, cols, val) ⇒ StringTimeGreaterThanOrEqual
Returns a new instance of StringTimeGreaterThanOrEqual.
271 272 273 |
# File 'lib/smql_to_ar/condition_types.rb', line 271 def initialize model, cols, val super model, cols, Time.parse( val.to_s) end |