Class: Gum::Filters::Geo
- Inherits:
-
Object
- Object
- Gum::Filters::Geo
- Defined in:
- lib/gum/filters/geo.rb,
lib/gum/filters/geo/bbox.rb,
lib/gum/filters/geo/range.rb,
lib/gum/filters/geo/distance.rb
Defined Under Namespace
Classes: Bbox, Distance, Range
Class Method Summary collapse
Class Method Details
.new(param, field, options) ⇒ Object
4 5 6 7 |
# File 'lib/gum/filters/geo.rb', line 4 def self.new(param, field, ) filter = const_get .delete(:type).to_s.camelize filter.new param, field, end |