Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.

Commit 8248b85

Browse files
committed
Sync action labels in the menu bar to match custom key bindings
1 parent aa183b7 commit 8248b85

File tree

7 files changed

+338
-241
lines changed

7 files changed

+338
-241
lines changed

.rubocop.yml

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ Style/NilComparison:
8383
Enabled: false
8484
Style/NonNilCheck:
8585
Enabled: false
86+
Style/WordArry:
87+
Enabled: false
8688

8789
RSpec/MultipleExpectations:
8890
Enabled: false

lib/ruby_jard/key_bindings.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module RubyJard
77
# As this class is performant-sensitive, a lookup tree is built
88
# and updated whenever a new key is added.
99
class KeyBindings
10-
attr_reader :indexes
10+
attr_reader :indexes, :key_bindings
1111

1212
def initialize(sequences = [])
1313
@key_bindings = []

0 commit comments

Comments
 (0)