Class: Origami::XDP::Packet::Template::Boolean
- Inherits:
-
Origami::XFA::Element
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XDP::Packet::Template::Boolean
- Defined in:
- lib/origami/xfa.rb
Constant Summary collapse
- NO =
0- YES =
1
Instance Method Summary collapse
-
#initialize(bool = nil) ⇒ Boolean
constructor
A new instance of Boolean.
Methods included from Origami::XFA
Constructor Details
#initialize(bool = nil) ⇒ Boolean
Returns a new instance of Boolean.
919 920 921 922 923 |
# File 'lib/origami/xfa.rb', line 919 def initialize(bool = nil) super('boolean') self.text = bool end |