lib/mixlib/install/artifact_info.rb in mixlib-install-1.0.1 vs lib/mixlib/install/artifact_info.rb in mixlib-install-1.0.2

- old
+ new

@@ -72,8 +72,12 @@ platform: platform, platform_version: platform_version, architecture: architecture, } end + + def clone_with(data) + ArtifactInfo.new(self.to_hash.merge(data)) + end end end end