REXML::Child
# File rexml/doctype.rb, line 244 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 267 def name @name end
# File rexml/doctype.rb, line 252 def to_s "<!NOTATION #@name #@middle#{ @public ? ' ' + public.inspect : '' }#{ @system ? ' ' +@system.inspect : '' }>" end
# File rexml/doctype.rb, line 260 def write( output, indent=-1 ) output << to_s end
This page was generated for Ruby 1.8.6
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.0.