Sha256: 411b713bda20b0cede9c348d1c59bbcc1e86bf24a778572b3ec78bd0d0e4d9ac

Contents?: true

Size: 230 Bytes

Versions: 5014

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 Style/NumericPredicate
    end
  end
end

Version data entries

5,014 entries across 4,965 versions & 54 rubygems

Version Path
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.90 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.89 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.88 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.87 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.86 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.85 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb
harbr-0.1.84 vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb