Class: GeoCli::Commands::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/geo-cli/geom_reader.rb

Direct Known Subclasses

GeoJson::FeatureCollection

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instream, global_opts = {}, opts = {}, args = []) ⇒ Base

Returns a new instance of Base.



9
10
11
12
13
14
# File 'lib/geo-cli/geom_reader.rb', line 9

def initialize(instream, global_opts = {}, opts = {}, args = [])
  @global_opts = global_opts
  @opts = opts
  @args = args
  @instream = instream
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



8
9
10
# File 'lib/geo-cli/geom_reader.rb', line 8

def args
  @args
end

#global_optsObject (readonly)

Returns the value of attribute global_opts.



8
9
10
# File 'lib/geo-cli/geom_reader.rb', line 8

def global_opts
  @global_opts
end

#instreamObject (readonly)

Returns the value of attribute instream.



8
9
10
# File 'lib/geo-cli/geom_reader.rb', line 8

def instream
  @instream
end

#optsObject (readonly)

Returns the value of attribute opts.



8
9
10
# File 'lib/geo-cli/geom_reader.rb', line 8

def opts
  @opts
end

Instance Method Details

#outputObject



16
17
18
# File 'lib/geo-cli/geom_reader.rb', line 16

def output
  raise "Not implemented"
end