REXML::Child
# File rexml/doctype.rb, line 291 def initialize name, middle, pub, sys super(nil) @name = name @middle = middle @public = pub @system = sys end
This method retrieves the name of the notation.
Method contributed by Henrik Martensson
# File rexml/doctype.rb, line 316 def name @name end
# File rexml/doctype.rb, line 299 def to_s context = nil context = parent.context if parent notation = "<!NOTATION #{@name}" reference_writer = ReferenceWriter.new(@middle, @public, @system, context) reference_writer.write(notation) notation << ">" notation end
# File rexml/doctype.rb, line 309 def write( output, indent=-1 ) output << to_s end
This page was generated for Ruby 2.6.8
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.