summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2021-12-23 10:45:50 -0500
committerAustin Ziegler <austin@zieglers.ca>2022-07-04 20:26:10 -0400
commitcb9bebb30477e815cdbe8f8460f227f0940599a1 (patch)
treec35dad52daf925d9e05396969c23c946aeff45fc /lib
parentf85ec381137c6838600b16c353ff9dba3a05452c (diff)
downloaddiff-lcs-cb9bebb30477e815cdbe8f8460f227f0940599a1.tar.gz
standardrb --only Style/PercentLiteralDelimiters --fix
Diffstat (limited to 'lib')
-rw-r--r--lib/diff/lcs/change.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diff/lcs/change.rb b/lib/diff/lcs/change.rb
index aa55360..a82f3e6 100644
--- a/lib/diff/lcs/change.rb
+++ b/lib/diff/lcs/change.rb
@@ -10,7 +10,7 @@ class Diff::LCS::Change
# (no change), '!' (changed), '<' (tail changes from first sequence), or
# '>' (tail changes from second sequence). The last two ('<>') are only
# found with Diff::LCS::diff and Diff::LCS::sdiff.
- VALID_ACTIONS = %w(+ - = ! > <).freeze
+ VALID_ACTIONS = %w[+ - = ! > <].freeze
def self.valid_action?(action)
VALID_ACTIONS.include? action