Class: Origami::XDP::Packet::Template::Decimal

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(number = nil) ⇒ Decimal

Returns a new instance of Decimal.


83
84
85
86
87
# File 'lib/origami/xfa/template.rb', line 83

def initialize(number = nil)
    super('decimal')

    self.text = number
end