Class: Origami::XDP::Packet::Template::DateTime
- Inherits:
-
Origami::XFA::Element
- Object
- REXML::Element
- Origami::XFA::Element
- 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.
68 69 70 71 72 |
# File 'lib/origami/xfa/template.rb', line 68 def initialize(datetime = nil) super('dateTime') self.text = datetime end |