Class: Origami::XDP::Packet::Template::Date
- Inherits:
-
Origami::XFA::Element
- Object
- REXML::Element
- Origami::XFA::Element
- 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.
55 56 57 58 59 |
# File 'lib/origami/xfa/template.rb', line 55 def initialize(date = nil) super('date') self.text = date end |