Method: WWMD::FormArray#clone
- Defined in:
- lib/wwmd/page/form_array.rb
#clone ⇒ Object
“deep enough” copy of this object to make it a real copy instead of references to the arrays that already exist
57 58 59 60 61 62 |
# File 'lib/wwmd/page/form_array.rb', line 57 def clone ret = self.class.new self.each { |r| ret << r.clone } ret.action = self.action return ret end |