Method: REXML::Element#raw
- Defined in:
- lib/rexml/element.rb
#raw ⇒ Object
: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? )) @raw end |