Module: WhereableClause::Condition
- Defined in:
- lib/whereable_clause.rb
Instance Method Summary collapse
-
#to_h ⇒ Object
Hash for comparison.
Instance Method Details
#to_h ⇒ Object
Hash for comparison
39 40 41 42 43 44 45 46 |
# File 'lib/whereable_clause.rb', line 39 def to_h { operator.to_sym => { column: column.to_s, literal: literal.to_s, }, } end |