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

Inherits:
Origami::XFA::Element 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.


497
498
499
500
501
# File 'lib/origami/xfa/template.rb', line 497

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

    self.text = script
end