Class: XLFormAction
- Inherits:
-
Object
- Object
- XLFormAction
- Defined in:
- lib/ProMotion/XLForm/xl_form_patch.rb
Overview
Monkey patch
Instance Attribute Summary collapse
-
#cells ⇒ Object
Returns the value of attribute cells.
-
#required ⇒ Object
Returns the value of attribute required.
Instance Method Summary collapse
Instance Attribute Details
#cells ⇒ Object
Returns the value of attribute cells.
4 5 6 |
# File 'lib/ProMotion/XLForm/xl_form_patch.rb', line 4 def cells @cells end |
#required ⇒ Object
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_copyWithZone ⇒ Object
7 |
# File 'lib/ProMotion/XLForm/xl_form_patch.rb', line 7 alias :old_copyWithZone :copyWithZone |