Class: Geoq::Commands::GeoHash::Children
- Defined in:
- lib/geoq/commands/geohash.rb
Instance Attribute Summary
Attributes inherited from Base
#args, #global_opts, #instream, #opts
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Geoq::Commands::Base
Instance Method Details
#output ⇒ Object
19 20 21 22 23 24 25 26 27 |
# File 'lib/geoq/commands/geohash.rb', line 19 def output Enumerator.new do |e| instream.each do |entity| entity.gh_children.each do |gh| e << gh end end end end |