Class: Origami::XDP::Packet::Template::Image
- Inherits:
-
Origami::XFA::NamedTemplateElement
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XFA::TemplateElement
- Origami::XFA::NamedTemplateElement
- 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.
99 100 101 102 103 |
# File 'lib/origami/xfa/template.rb', line 99 def initialize(data = nil) super('image') self.text = data end |