Class: SmqlToAR::ConditionTypes::StringTimeGreaterThanOrEqual

Inherits:
Condition
  • Object
show all
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

#cols, #value

Instance Method Summary collapse

Methods inherited from Condition

#condition_build, inspect, #inspect, try_parse, #verify, #verify_allowed, #verify_column

Methods included from Assertion

#raise_if, #raise_unless

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