Class: Origami::XDP::Packet::Template::Date
- Inherits:
-
Origami::XFA::NamedTemplateElement
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XFA::TemplateElement
- Origami::XFA::NamedTemplateElement
- Origami::XDP::Packet::Template::Date
- Defined in:
- lib/origami/xfa/template.rb
Instance Method Summary collapse
-
#initialize(date = nil) ⇒ Date
constructor
A new instance of Date.
Methods included from Origami::XFA
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 |