Class: OKCupid::AgeFilter

Inherits:
Filter
  • Object
show all
Defined in:
lib/lonely_coder/search/options/age.rb

Instance Attribute Summary

Attributes inherited from Filter

#code, #name, #value

Instance Method Summary collapse

Methods inherited from Filter

#allowed_values, #initialize, #to_param

Constructor Details

This class inherits a constructor from OKCupid::Filter

Instance Method Details

#lookup(value) ⇒ Object



3
4
5
# File 'lib/lonely_coder/search/options/age.rb', line 3

def lookup(value)
  "#{value[0]},#{value[1]}"
end