Class: Totem::ShellCmds::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/totem/shell_cmds/base.rb

Direct Known Subclasses

Console, New

Instance Method Summary collapse

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

#runObject



8
9
10
# File 'lib/totem/shell_cmds/base.rb', line 8

def run
  raise 'You must implement this method in a subclass.'
end