--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: "Evaluates to true if whitespace is respected for this element. This is the case if:"
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::Flow::LI
label: "1."
body: Neither :respect_whitespace nor :compress_whitespace has any value
- !ruby/struct:SM::Flow::LI
label: "2."
body: The context has :respect_whitespace set to :all or an array containing the name of this element, and :compress_whitespace isn't set to :all or an array containing the name of this element.
type: :NUMBER
- !ruby/struct:SM::Flow::P
body: The evaluation is tested against expanded_name, and so is namespace sensitive.
full_name: REXML::Element#whitespace
is_singleton: false
name: whitespace
params: ()
visibility: public