Class: RecordFilter::Restrictions::LessThanOrEqualTo

Inherits:
Base
  • Object
show all
Defined in:
lib/record_filter/restrictions.rb

Instance Method Summary collapse

Methods inherited from Base

class_from_operator, #initialize, #to_conditions, #to_negative_sql, #to_sql

Constructor Details

This class inherits a constructor from RecordFilter::Restrictions::Base

Instance Method Details

#to_positive_sqlObject



53
54
55
# File 'lib/record_filter/restrictions.rb', line 53

def to_positive_sql
  "#{@column_name} <= ?"
end