lib/diff/lcs/backports.rb in diff-lcs-1.5.0 vs lib/diff/lcs/backports.rb in diff-lcs-1.5.1
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
unless 0.respond_to?(:positive?)
- class Fixnum # rubocop:disable Lint/UnifiedInteger, Style/Documentation
+ class Fixnum # standard:disable Lint/UnifiedInteger
def positive?
- self > 0 # rubocop:disable Style/NumericPredicate
+ self > 0
end
end
end