Class: Pah::Commands::Base
- Inherits:
-
Object
- Object
- Pah::Commands::Base
- Defined in:
- lib/pah/commands/base.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #run(argv) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/pah/commands/base.rb', line 7 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/pah/commands/base.rb', line 5 def @options end |
Instance Method Details
#run(argv) ⇒ Object
11 12 13 |
# File 'lib/pah/commands/base.rb', line 11 def run(argv) raise "#{self.class} subclasses should implement the #run method" end |