Sha256: d19cf74296c913f62b0f20f2ecd4aabda82831f418440edb1f0bf04ab078a955

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module Fusuma
  module Plugin
    module Events
      module Records
        # Record for Keypress event
        class KeypressRecord < Record
          attr_reader :status, :code

          # @param status [String]
          def initialize(status:, code:)
            @status = status
            @code = code
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fusuma-plugin-keypress-0.4.2 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.4.1 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.4.0 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.4.0.pre2 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.4.0.pre lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.3.0 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.2.1 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.2.0 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.1.1 lib/fusuma/plugin/events/records/keypress_record.rb
fusuma-plugin-keypress-0.1.0 lib/fusuma/plugin/events/records/keypress_record.rb