Class: Origami::XDP::Packet::Config::Whitespace

Inherits:
Origami::XFA::Element show all
Defined in:
lib/origami/xfa.rb

Constant Summary collapse

PRESERVE =
"preserve"
LTRIM =
"ltrim"
NORMALIZE =
"normalize"
RTRIM =
"rtrim"
TRIM =
"trim"

Instance Method Summary collapse

Methods included from Origami::XFA

included

Constructor Details

#initialize(action = PRESERVE) ⇒ Whitespace

Returns a new instance of Whitespace.



355
356
357
358
359
# File 'lib/origami/xfa.rb', line 355

def initialize(action = PRESERVE)
  super('whitespace')

  self.text = action
end