lib/thinreports/report/page.rb in thinreports-0.8.2 vs lib/thinreports/report/page.rb in thinreports-0.9.0
- old
+ new
@@ -70,10 +70,10 @@
manager.shapes.each do |id, shape|
new_shape = shape.copy(new_page)
new_page.manager.shapes[id] = new_shape
- if new_shape.internal.type_of?(:list)
+ if new_shape.internal.type_of?(Core::Shape::List::TYPE_NAME)
new_page.manager.lists[id] = new_shape
end
end
new_page
end