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.4.10/lib/rexml/doctype.rb, line 204
def initialize src
super()
@string = src
end
No documentation available
Instance Methods
#
lib/rexml/doctype.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/rexml/doctype.rb, line 209
def to_s
@string+'>'
end
No documentation available
lib/rexml/doctype.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/rexml/doctype.rb, line 216
def write( output, indent )
output << to_s
end