Class: Origami::XDP::Packet::Template::Reason
- Inherits:
-
Origami::XFA::Element
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XDP::Packet::Template::Reason
- Defined in:
- lib/origami/xfa/template.rb
Instance Method Summary collapse
-
#initialize(reason = "") ⇒ Reason
constructor
A new instance of Reason.
Methods included from Origami::XFA
Constructor Details
#initialize(reason = "") ⇒ Reason
Returns a new instance of Reason.
1225 1226 1227 1228 1229 |
# File 'lib/origami/xfa/template.rb', line 1225 def initialize(reason = "") super('reason') self.text = reason end |