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

Inherits:
Origami::XFA::NamedTemplateElement show all
Defined in:
lib/origami/xfa/template.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.



385
386
387
388
389
# File 'lib/origami/xfa/template.rb', line 385

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

    self.text = script
end