Method: Mothership.alias_command

Defined in:
lib/mothership/base.rb

.alias_command(new, orig = nil) ⇒ Object



49
50
51
# File 'lib/mothership/base.rb', line 49

def alias_command(new, orig = nil)
  @@commands[new] = orig ? @@commands[orig] : @command
end