Sha256: 9eb6d3475307705b928529df9fb2b6e3d176538347a83fdd4b9668584ba4921e

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

module Polyfill
  module V2_4
    module Numeric
      module Instance
        module Clone
          module Method
            def clone(freeze: true) # rubocop:disable Lint/UnusedMethodArgument
              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/clone.rb
polyfill-0.5.0 lib/polyfill/v2_4/numeric/instance/clone.rb
polyfill-0.4.0 lib/polyfill/v2_4/numeric/instance/clone.rb