Class: Rascut::Plugin::Base
- Inherits:
-
Object
- Object
- Rascut::Plugin::Base
- Defined in:
- lib/rascut/plugin/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(command) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Constructor Details
#initialize(command) ⇒ Base
Returns a new instance of Base.
5 6 7 |
# File 'lib/rascut/plugin/base.rb', line 5 def initialize(command) @command = command end |
Instance Method Details
#config ⇒ Object
9 10 11 12 |
# File 'lib/rascut/plugin/base.rb', line 9 def config # ... {} end |
#run ⇒ Object
14 15 16 |
# File 'lib/rascut/plugin/base.rb', line 14 def run raise 'should\'d be run method override!' end |