Class
This is an abstract class. You never use this directly; it serves as a parent class for the specific declarations.
Class Methods
::
lib/rexml/doctype.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rexml/doctype.rb, line 252
def initialize src
super()
@string = src
end
No documentation available
Instance Methods
#
lib/rexml/doctype.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rexml/doctype.rb, line 257
def to_s
@string+'>'
end
No documentation available
lib/rexml/doctype.rb
View on GitHub
# File tmp/rubies/ruby-2.6.10/lib/rexml/doctype.rb, line 264
def write( output, indent )
output << to_s
end