class MiqDevUtil::Code
The Code
class is a container for miscellaneous methods that a developer may find useful. The focus is on standard Ruby oriented tasks that could apply outside of the ManageIQ environment.
Public Class Methods
deep_copy(o)
click to toggle source
Perform a deep copy on objects that support marshalling.
# File lib/miq_dev_util/code.rb, line 7 def self.deep_copy(o) Marshal.load(Marshal.dump(o)) end