Sha256: a511ee26961e727de121239f24b06fae1b584236891469f3b8ce1f5761fa99c0

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

require 'bitmapped/commands/base_command'

module Bitmapped
  module Commands
    class ExitCommand < BaseCommand

      def command_id
        "X"
      end

      def process_command(bitmap, input)
        raise Interrupt
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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