Module: Buildr::ArtifactNamespace::DClone
- Included in:
- Buildr::ArtifactNamespace, ArtifactRequirement, Registry
- Defined in:
- lib/buildr/packaging/artifact_namespace.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#dclone ⇒ Object
299 300 301 302 303 304 305 306 307 |
# File 'lib/buildr/packaging/artifact_namespace.rb', line 299 def dclone clone = self.clone clone.instance_variables.each do |i| value = clone.instance_variable_get(i) value = value.dclone rescue clone.instance_variable_set(i, value) end clone end |