Class: Totem::ShellCmds::Base
- Inherits:
-
Object
- Object
- Totem::ShellCmds::Base
- Defined in:
- lib/totem/shell_cmds/base.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Constructor Details
#initialize(args) ⇒ Base
Returns a new instance of Base.
4 5 6 |
# File 'lib/totem/shell_cmds/base.rb', line 4 def initialize(args) @args = args end |
Instance Method Details
#run ⇒ Object
8 9 10 |
# File 'lib/totem/shell_cmds/base.rb', line 8 def run raise 'You must implement this method in a subclass.' end |