Sha256: 5e335222b7bbcf325682072884542a211a6e8fccd2a061aa9f369b7727f116a2

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

module Polyfill
  module V2_4
    module Numeric
      module FiniteQ
        module Method
          def finite?
            true
          end if RUBY_VERSION < '2.4.0'
        end

        if RUBY_VERSION < '2.4.0'
          refine ::Numeric do
            include Method
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polyfill-0.2.0 lib/polyfill/v2_4/numeric/finite_q.rb