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

Inherits:
Origami::XFA::NamedTemplateElement 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



61
62
63
64
65
# File 'lib/origami/xfa/template.rb', line 61

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

  self.text = number
end