Sha256: 04efb83533953113784d7042cdda694b0acae670ddb3663e46ffbf9294bfecf1
Contents?: true
Size: 549 Bytes
Versions: 5
Compression:
Stored size: 549 Bytes
Contents
module DuckPuncher module Ducks module Object def clone! Marshal.load Marshal.dump self end unless defined? clone! def require!(file_or_gem, version = '') if DuckPuncher::GemInstaller.new.perform(file_or_gem, version) require file_or_gem.tr('-', '/') end end def punch DuckPuncher.delegate_class(self.class.name.to_sym).new(self) end def track require! 'object_tracker' extend ::ObjectTracker track_all! end end end end
Version data entries
5 entries across 5 versions & 1 rubygems