Sha256: 3669e8b42be266686be9afd99174f211a2a15edd8e7f5dc2eadc540e684c7b49
Contents?: true
Size: 194 Bytes
Versions: 3
Compression:
Stored size: 194 Bytes
Contents
class BMC::Filter::ByDateBegin < BMC::Filter::ByKeyValue def call(query, value) value = Date.parse(value) column = column_for(query) query.where("#{column} >= ?", value) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bmc-1.6.2 | app/filters/bmc/filter/by_date_begin.rb |
bmc-1.6.1 | app/filters/bmc/filter/by_date_begin.rb |
bmc-1.6.0 | app/filters/bmc/filter/by_date_begin.rb |