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
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
cli-nasa-0.1.1 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
cli-nasa-0.1.0 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
cloudsmith-api-0.52.5 vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
cloudsmith-api-0.52.0 vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
cloudsmith-api-0.51.93 vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
yoshioka_gem-0.1.0 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb
coingecko_client-0.1.1 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.3/lib/diff/lcs/backports.rb
diff-lcs-1.4.4 lib/diff/lcs/backports.rb
coingecko_client-0.1.0 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.3/lib/diff/lcs/backports.rb
diff-lcs-1.4.3 lib/diff/lcs/backports.rb
diff-lcs-1.4.2 lib/diff/lcs/backports.rb