Sha256: 03bd9bd42d83994f69795bf74527b72f755daa88b4396eaccfe0591ed1d83f0d

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

module RubyJard
  ##
  # A key binding object
  class KeyBinding
    attr_reader :sequence, :action

    def initialize(sequence, action)
      @sequence = sequence
      @action = action
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby_jard-0.3.1 lib/ruby_jard/key_binding.rb
ruby_jard-0.3.0 lib/ruby_jard/key_binding.rb
ruby_jard-0.2.3 lib/ruby_jard/key_binding.rb
ruby_jard-0.2.2 lib/ruby_jard/key_binding.rb
ruby_jard-0.2.1 lib/ruby_jard/key_binding.rb
ruby_jard-0.2.0 lib/ruby_jard/key_binding.rb