class REXML::Instruction

Public Instance Methods

write(writer, indent=-1, transitive=false, ie_hack=false) click to toggle source
# File lib/xmlcanonicalizer.rb, line 7
def write(writer, indent=-1, transitive=false, ie_hack=false)
  indent(writer, indent)
  writer << START.sub(/\\/u, '')
  writer << @target
  writer << ' '
  writer << @content if @content != nil
  writer << STOP.sub(/\\/u, '')
end