Sha256: db6caf57bad3d51e083408b8035d24ff6aeb79df3b4fcbc7968d95af871b5048

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

module Polyfill
  module V2_4
    module Numeric
      module Instance
        module Dup
          module Method
            def dup
              self
            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/dup.rb
polyfill-0.5.0 lib/polyfill/v2_4/numeric/instance/dup.rb
polyfill-0.4.0 lib/polyfill/v2_4/numeric/instance/dup.rb