summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2020-06-23 21:40:01 -0400
committerGitHub <noreply@github.com>2020-06-23 21:40:01 -0400
commitce0190b0cdaba128d20d669917d23cd992b3af1d (patch)
treea83d2978776574cc6de78e9ff9342a2c12564911 /lib
parentcef2f827c7d93cfcddc1ea64dfaab8c7ed784d41 (diff)
parentc5052cd3dcc9149f7ad74f2bf60312b6a3de9ad7 (diff)
downloaddiff-lcs-ce0190b0cdaba128d20d669917d23cd992b3af1d.tar.gz
Merge pull request #59 from CamilleDrapier/camille/fix_rubocop_typo
Fix Styel/NumericPredicate has the wrong namespace - should be Style
Diffstat (limited to 'lib')
-rw-r--r--lib/diff/lcs/backports.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diff/lcs/backports.rb b/lib/diff/lcs/backports.rb
index 214a59a..642fc9c 100644
--- a/lib/diff/lcs/backports.rb
+++ b/lib/diff/lcs/backports.rb
@@ -3,7 +3,7 @@
unless 0.respond_to?(:positive?)
class Fixnum # rubocop:disable Lint/UnifiedInteger, Style/Documentation
def positive?
- self > 0 # rubocop:disable Styel/NumericPredicate
+ self > 0 # rubocop:disable Style/NumericPredicate
end
end
end