Class: Origami::XDP::Packet::Template::Image
- Inherits:
-
Origami::XFA::Element
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XDP::Packet::Template::Image
- Defined in:
- lib/origami/xfa/template.rb
Instance Method Summary collapse
-
#initialize(data = nil) ⇒ Image
constructor
A new instance of Image.
Methods included from Origami::XFA
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 |