Sha256: 5c903c956b034e0ff81531f709c329f6c5a37852ec3d62ef883ad414263b4dd7

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

module Polyfill
  module V2_4
    module Numeric
      module Instance
        module InfiniteQ
          module Method
            def infinite?
              nil
            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/infinite_q.rb
polyfill-0.5.0 lib/polyfill/v2_4/numeric/instance/infinite_q.rb
polyfill-0.4.0 lib/polyfill/v2_4/numeric/instance/infinite_q.rb