Class: Bitmapped::Commands::BaseCommand
- Inherits:
-
Object
- Object
- Bitmapped::Commands::BaseCommand
show all
- Defined in:
- lib/bitmapped/commands/base_command.rb
Direct Known Subclasses
ClearCommand, ExitCommand, FillCommand, HorizontalLineCommand, InitialiserCommand, InvertCommand, MirrorCommand, PixelFillCommand, PrintFancyTableCommand, PrintTableCommand, RotateCommand, VerticalLineCommand
Instance Method Summary
collapse
Instance Method Details
#command_id ⇒ Object
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
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
|