Module: LedgerSync::Util::Mixins::DupableMixin

Included in:
Resource, ResourceAttribute
Defined in:
lib/ledger_sync/util/mixins/dupable_mixin.rb

Instance Method Summary collapse

Instance Method Details

#dupObject



7
8
9
# File 'lib/ledger_sync/util/mixins/dupable_mixin.rb', line 7

def dup
  Marshal.load(Marshal.dump(self))
end