Class: XLFormAction

Inherits:
Object
  • Object
show all
Defined in:
lib/ProMotion/XLForm/xl_form_patch.rb

Overview

Monkey patch

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cellsObject

Returns the value of attribute cells.



4
5
6
# File 'lib/ProMotion/XLForm/xl_form_patch.rb', line 4

def cells
  @cells
end

#requiredObject

Returns the value of attribute required.



5
6
7
# File 'lib/ProMotion/XLForm/xl_form_patch.rb', line 5

def required
  @required
end

Instance Method Details

#copyWithZone(zone) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/ProMotion/XLForm/xl_form_patch.rb', line 9

def copyWithZone(zone)
  action_copy = old_copyWithZone(zone)

  action_copy.cells = self.cells.copy
  action_copy.required = self.required
  action_copy
end

#old_copyWithZoneObject



7
# File 'lib/ProMotion/XLForm/xl_form_patch.rb', line 7

alias :old_copyWithZone :copyWithZone