Class: Geostats::Commands::Base
- Inherits:
-
Object
- Object
- Geostats::Commands::Base
- Includes:
- Term::ANSIColor
- Defined in:
- lib/geostats/commands/base.rb
Instance Method Summary collapse
-
#initialize(args = []) ⇒ Base
constructor
A new instance of Base.
- #invoke ⇒ Object
Constructor Details
#initialize(args = []) ⇒ Base
Returns a new instance of Base.
17 18 19 |
# File 'lib/geostats/commands/base.rb', line 17 def initialize(args=[]) @args = args end |
Instance Method Details
#invoke ⇒ Object
21 22 23 24 |
# File 'lib/geostats/commands/base.rb', line 21 def invoke parse_args before; run; after end |