Class: Origami::XDP::Packet::Template::Image

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

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(data = nil) ⇒ Image

Returns a new instance of Image.



131
132
133
134
135
# File 'lib/origami/xfa/template.rb', line 131

def initialize(data = nil)
    super('image')

    self.text = data
end