class Geoq::Commands::GeoHash::Neighbors

Public Instance Methods

output() click to toggle source
# File lib/geoq/commands/geohash.rb, line 31
def output
  Enumerator.new do |e|
    instream.each do |entity|
      entity.gh_neighbors(opts[:inclusive]).each do |gh|
        e << gh
      end
    end
  end
end