Method: Gamefic::Command#initialize
- Defined in:
- lib/gamefic/command.rb
#initialize(verb, arguments, meta = false, input = nil) ⇒ Command
Returns a new instance of Command.
20 21 22 23 24 25 26 |
# File 'lib/gamefic/command.rb', line 20 def initialize(verb, arguments, = false, input = nil) @verb = verb @arguments = arguments @meta = @input = input @cancelled = false end |