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

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

Returns a new instance of Date.



55
56
57
58
59
# File 'lib/origami/xfa/template.rb', line 55

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

    self.text = date
end