Class: Origami::XDP::Packet::Config::Whitespace
- Inherits:
-
Origami::XFA::ConfigElement
- Object
- REXML::Element
- Origami::XFA::Element
- Origami::XFA::ConfigElement
- Origami::XDP::Packet::Config::Whitespace
- Defined in:
- lib/origami/xfa/config.rb
Constant Summary collapse
- PRESERVE =
"preserve"
- LTRIM =
"ltrim"
- NORMALIZE =
"normalize"
- RTRIM =
"rtrim"
- TRIM =
"trim"
Instance Method Summary collapse
-
#initialize(action = PRESERVE) ⇒ Whitespace
constructor
A new instance of Whitespace.
Methods included from Origami::XFA
Constructor Details
#initialize(action = PRESERVE) ⇒ Whitespace
Returns a new instance of Whitespace.
232 233 234 235 236 |
# File 'lib/origami/xfa/config.rb', line 232 def initialize(action = PRESERVE) super('whitespace') self.text = action end |