Class: Origami::XDP::Packet::Template::Integer
- Inherits:
-
Origami::XFA::Element
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XDP::Packet::Template::Integer
- Defined in:
- lib/origami/xfa/template.rb
Instance Method Summary collapse
-
#initialize(int = nil) ⇒ Integer
constructor
A new instance of Integer.
Methods included from Origami::XFA
Constructor Details
#initialize(int = nil) ⇒ Integer
Returns a new instance of Integer.
144 145 146 147 148 |
# File 'lib/origami/xfa/template.rb', line 144 def initialize(int = nil) super('integer') self.text = int end |