Class: Bitmapped::Commands::BaseCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/bitmapped/commands/base_command.rb

Instance Method Summary collapse

Instance Method Details

#command_idObject

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/bitmapped/commands/base_command.rb', line 4

def command_id
  raise NotImplementedError.new("You must implement command_id.")
end

#process_command(pixels, args) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/bitmapped/commands/base_command.rb', line 8

def process_command(pixels, args)
  raise NotImplementedError.new("You must implement process_command.")
end