Module: RedisGeodata

Included in:
DBSCAN::Clusterer
Defined in:
lib/gtfs_stops_clustering/redis_geodata.rb

Overview

RedisGeodata module

Defined Under Namespace

Classes: RedisGeodata

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#redisObject

Returns the value of attribute redis.



9
10
11
# File 'lib/gtfs_stops_clustering/redis_geodata.rb', line 9

def redis
  @redis
end

Instance Method Details

#geosearch(*args) ⇒ Object



45
46
47
# File 'lib/gtfs_stops_clustering/redis_geodata.rb', line 45

def geosearch(*args)
  @redis.geosearch(*args)
end

#redis_geodata_import(*args) ⇒ Object



41
42
43
# File 'lib/gtfs_stops_clustering/redis_geodata.rb', line 41

def redis_geodata_import(*args)
  @redis = RedisGeodata.new(*args)
end