Class: Geoq::Commands::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/geoq/commands/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Base.



5
6
7
8
9
10
# File 'lib/geoq/commands/base.rb', line 5

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.



4
5
6
# File 'lib/geoq/commands/base.rb', line 4

def args
  @args
end

#global_optsObject (readonly)

Returns the value of attribute global_opts.



4
5
6
# File 'lib/geoq/commands/base.rb', line 4

def global_opts
  @global_opts
end

#instreamObject (readonly)

Returns the value of attribute instream.



4
5
6
# File 'lib/geoq/commands/base.rb', line 4

def instream
  @instream
end

#optsObject (readonly)

Returns the value of attribute opts.



4
5
6
# File 'lib/geoq/commands/base.rb', line 4

def opts
  @opts
end

Instance Method Details

#outputObject



12
13
14
# File 'lib/geoq/commands/base.rb', line 12

def output
  raise "Not implemented"
end