Sha256: a4d698315d2973a6bdec09b14f7930a096c535c18545d563e4fa2ab0289d8bc4

Contents?: true

Size: 230 Bytes

Versions: 2

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

unless 0.respond_to?(:positive?)
  class Fixnum # rubocop:disable Lint/UnifiedInteger, Style/Documentation
    def positive?
      self > 0 # rubocop:disable Styel/NumericPredicate
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
diff-lcs-1.4.1 lib/diff/lcs/backports.rb
diff-lcs-1.4 lib/diff/lcs/backports.rb