Method: Gamefic::Command#initialize

Defined in:
lib/gamefic/command.rb

#initialize(verb, arguments, meta = false, input = nil) ⇒ Command

Returns a new instance of Command.

Parameters:



20
21
22
23
24
25
26
# File 'lib/gamefic/command.rb', line 20

def initialize(verb, arguments, meta = false, input = nil)
  @verb = verb
  @arguments = arguments
  @meta = meta
  @input = input
  @cancelled = false
end