Sha256: a7bb684a81c5b26ebdeb976cd8c9119c7f6c2b11aa15fe316842539dc2042d9e

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

module Polyfill
  module V2_4
    module Numeric
      module Instance
        module FiniteQ
          module Method
            def finite?
              true
            end
          end

          refine ::Numeric do
            include Method
          end

          def self.included(base)
            base.include Method
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polyfill-0.6.0 lib/polyfill/v2_4/numeric/instance/finite_q.rb
polyfill-0.5.0 lib/polyfill/v2_4/numeric/instance/finite_q.rb
polyfill-0.4.0 lib/polyfill/v2_4/numeric/instance/finite_q.rb