# File lib/pr_geohash.rb, line 56 def neighbors(geohash) [[:top, :right], [:right, :bottom], [:bottom, :left], [:left, :top]].map{ |dirs| point = adjacent(geohash, dirs[0]) [point, adjacent(point, dirs[1])] }.flatten end