Class: Carousel

Inherits:
Widget show all
Defined in:
app/models/carousel.rb

Instance Method Summary collapse

Methods inherited from Block

#link_with, #linked_with?, #pages, #unlink_with

Instance Method Details

#cloneObject



9
10
11
12
13
# File 'app/models/carousel.rb', line 9

def clone
  cloned = super
  cloned.items = self.items.collect(&:clone)
  return cloned
end