Sha256: 8a0d7a6ffdaa1c706259404eb3b37723dbd550c68c1dd1f68b3a3057c6631180

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

module Bitmapped
  module Commands
    class BaseCommand
      def command_id
        raise NotImplementedError.new("You must implement command_id.")
      end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitmapped-0.2.0 lib/bitmapped/commands/base_command.rb