Method: REXML::Element#raw

Defined in:
lib/rexml/element.rb

#rawObject

:call-seq:

raw

Returns true if raw mode is set for the element.

See Element Context.

The evaluation is tested against expanded_name, and so is namespace sensitive.



532
533
534
535
536
537
# File 'lib/rexml/element.rb', line 532

def raw
  @raw = (@context and @context[:raw] and
          (@context[:raw] == :all or
           @context[:raw].include? expanded_name))
  @raw
end