Class: WidgetFaq

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

Instance Method Summary collapse

Methods inherited from Block

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

Instance Method Details

#cloneObject



7
8
9
10
11
# File 'app/models/widget_faq.rb', line 7

def clone
  cloned = super
  cloned.faqs = faqs.map(&:clone)
  return cloned
end