Class: Origami::XDP::Packet::Template::Script

Inherits:
Origami::XFA::Element show all
Defined in:
lib/origami/xfa.rb

Direct Known Subclasses

FormCalcScript, JavaScript

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(script = "") ⇒ Script

Returns a new instance of Script.



1369
1370
1371
1372
1373
# File 'lib/origami/xfa.rb', line 1369

def initialize(script = "")
  super('script')

  self.text = script
end