Class: Origami::XDP::Packet::Template::DateTime
- Inherits:
-
Origami::XFA::NamedTemplateElement
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XFA::TemplateElement
- Origami::XFA::NamedTemplateElement
- Origami::XDP::Packet::Template::DateTime
- Defined in:
- lib/origami/xfa/template.rb
Instance Method Summary collapse
-
#initialize(datetime = nil) ⇒ DateTime
constructor
A new instance of DateTime.
Methods included from Origami::XFA
Constructor Details
#initialize(datetime = nil) ⇒ DateTime
Returns a new instance of DateTime.
53 54 55 56 57 |
# File 'lib/origami/xfa/template.rb', line 53 def initialize(datetime = nil) super('dateTime') self.text = datetime end |