Method: Botz::Command#initialize

Defined in:
lib/botz/command.rb

#initialize(definition) ⇒ Command

Returns a new instance of Command.



7
8
9
10
# File 'lib/botz/command.rb', line 7

def initialize(definition)
  @definition = definition
  @shell = Botz::Shell.new(definition: definition)
end