Sha256: 1a10beb48c98fc93f15b9ea3801afa92b0d328a08d30cbaff1e83b5507704fd2

Contents?: true

Size: 172 Bytes

Versions: 3

Compression:

Stored size: 172 Bytes

Contents

module DuckPuncher
  module Object
    def clone!
      Marshal.load Marshal.dump self
    end unless defined? clone!
  end
end

Object.send(:include, DuckPuncher::Object)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
duck_puncher-2.1.0 lib/duck_puncher/object.rb
duck_puncher-2.0.0 lib/duck_puncher/object.rb
duck_puncher-1.0.0 lib/duck_puncher/object.rb