Class: Origami::XDP::Packet::Template::Decimal
- Inherits:
-
Origami::XFA::NamedTemplateElement
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XFA::TemplateElement
- Origami::XFA::NamedTemplateElement
- Origami::XDP::Packet::Template::Decimal
- Defined in:
- lib/origami/xfa/template.rb
Instance Method Summary collapse
-
#initialize(number = nil) ⇒ Decimal
constructor
A new instance of Decimal.
Methods included from Origami::XFA
Constructor Details
#initialize(number = nil) ⇒ Decimal
Returns a new instance of Decimal.
64 65 66 67 68 |
# File 'lib/origami/xfa/template.rb', line 64 def initialize(number = nil) super('decimal') self.text = number end |