REXML::Child
# File rexml/doctype.rb, line 242 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 265 def name @name end
# File rexml/doctype.rb, line 250 def to_s notation = "<!NOTATION #{@name} #{@middle}" notation << " #{@public.inspect}" if @public notation << " #{@system.inspect}" if @system notation << ">" notation end
# File rexml/doctype.rb, line 258 def write( output, indent=-1 ) output << to_s end
This page was generated for Ruby 2.4.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.0.