module Geocoder
def lookup(ip = false)
Returns an IP address lookup if +ip+ parameter true.
Get a Lookup object (which communicates with the remote geocoding API).
#
def lookup(ip = false) if ip get_lookup :freegeoip else get_lookup Configuration.lookup || :google end end