Class: BMC::Filter::ByDate

Inherits:
ByKeyValue show all
Defined in:
app/filters/bmc/filter/by_date.rb

Instance Attribute Summary

Attributes inherited from ByKeyValue

#key

Instance Method Summary collapse

Methods inherited from ByKeyValue

#column_for, #initialize

Constructor Details

This class inherits a constructor from BMC::Filter::ByKeyValue

Instance Method Details

#call(query, value) ⇒ Object



2
3
4
5
# File 'app/filters/bmc/filter/by_date.rb', line 2

def call(query, value)
  value = Date.parse(value)
  super(query, value)
end