Class: Bitmapped::Commands::ExitCommand

Inherits:
BaseCommand show all
Defined in:
lib/bitmapped/commands/exit_command.rb

Instance Method Summary collapse

Instance Method Details

#command_idObject



7
8
9
# File 'lib/bitmapped/commands/exit_command.rb', line 7

def command_id
  "X"
end

#process_command(bitmap, input) ⇒ Object

Raises:

  • (Interrupt)


11
12
13
# File 'lib/bitmapped/commands/exit_command.rb', line 11

def process_command(bitmap, input)
  raise Interrupt
end