Class: GeoCli::Commands::Base
- Inherits:
-
Object
- Object
- GeoCli::Commands::Base
- Defined in:
- lib/geo-cli/geom_reader.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#global_opts ⇒ Object
readonly
Returns the value of attribute global_opts.
-
#instream ⇒ Object
readonly
Returns the value of attribute instream.
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(instream, global_opts = {}, opts = {}, args = []) ⇒ Base
constructor
A new instance of Base.
- #output ⇒ Object
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
#args ⇒ Object (readonly)
Returns the value of attribute args.
8 9 10 |
# File 'lib/geo-cli/geom_reader.rb', line 8 def args @args end |
#global_opts ⇒ Object (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 |
#instream ⇒ Object (readonly)
Returns the value of attribute instream.
8 9 10 |
# File 'lib/geo-cli/geom_reader.rb', line 8 def instream @instream end |
#opts ⇒ Object (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
#output ⇒ Object
16 17 18 |
# File 'lib/geo-cli/geom_reader.rb', line 16 def output raise "Not implemented" end |