raw()
public
Evaluates to true if raw
mode is set for this element. This is the case if the context has :raw set to :all or an
array containing the name of this element.
The evaluation is tested against expanded_name, and so is namespace sensitive.
Show source
def raw
@raw = (@context and @context[:raw] and
(@context[:raw] == :all or
@context[:raw].include? expanded_name))
@raw
end