Method: Summon::Query#date_max
- Defined in:
- lib/summon/schema/query.rb
#date_max ⇒ Object
28 29 30 31 32 33 |
# File 'lib/summon/schema/query.rb', line 28 def date_max date_filter do |f| val = f.range.max_value return val == "*" ? nil : val.to_i end end |