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

Inherits:
Origami::XFA::Element show all
Defined in:
lib/origami/xfa.rb

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(number = nil) ⇒ Decimal

Returns a new instance of Decimal.



957
958
959
960
961
# File 'lib/origami/xfa.rb', line 957

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

  self.text = number
end