lib/pakyow/presenter/versioned_view.rb in pakyow-presenter-1.0.0.rc2 vs lib/pakyow/presenter/versioned_view.rb in pakyow-presenter-1.0.0.rc3
- old
+ new
@@ -25,9 +25,10 @@
@versions = @versions.map(&:dup)
@names = @names.map(&:dup)
determine_working_version
end
+ # @api private
def soft_copy
instance = self.class.allocate
instance.instance_variable_set(:@versions, @versions.map { |version|
version.soft_copy