Class: Origami::XDP::Packet::Template::Date

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(date = nil) ⇒ Date

Returns a new instance of Date.



45
46
47
48
49
# File 'lib/origami/xfa/template.rb', line 45

def initialize(date = nil)
    super('date')

    self.text = date
end