Method: Origami::Field#onFormat
- Defined in:
- lib/origami/acroform.rb
#onFormat(action) ⇒ Object
213 214 215 216 217 218 219 220 |
# File 'lib/origami/acroform.rb', line 213 def onFormat(action) unless action.is_a?(Action) raise TypeError, "An Action object must be passed." end self.AA ||= AdditionalActions.new self.AA.F = action end |