Sha256: 5fcd6c8b76032292b33b946f9f73743b901493282f21583c5f5b2ee24b38e7f6

Contents?: true

Size: 529 Bytes

Versions: 25

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

module Fusuma
  module Plugin
    module Events
      module Records
        # Context Record
        class ContextRecord < Record
          # define gesture format
          attr_reader :name, :value

          # @param name [#to_sym]
          # @param value [String]
          def initialize(name:, value:)
            super()
            @name = name.to_sym
            @value = value
          end

          def type
            :context
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
fusuma-3.7.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.6.2 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.6.1 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.6.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.5.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.4.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.3.1 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.3.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.2.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.1.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-3.0.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.5.1 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.5.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.4.1 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.4.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.3.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.2.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.1.0 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.0.5 lib/fusuma/plugin/events/records/context_record.rb
fusuma-2.0.4 lib/fusuma/plugin/events/records/context_record.rb