Flowdock
to_s() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/doctype.rb, line 261
    def to_s
      c = nil
      c = parent.context if parent
      if c and c[:prologue_quote] == :apostrophe
        quote = "'"
      else
        quote = "\""
      end
      notation = "<!NOTATION #{@name} #{@middle}"
      notation << " #{quote}#{@public}#{quote}" if @public
      notation << " #{quote}#{@system}#{quote}" if @system
      notation << ">"
      notation
    end
Register or log in to add new notes.