REXML::NotationDecl (Class)

In: rexml/doctype.rb
Parent: Child

Methods

new   to_s   write  

Public Class methods

[Source]

# File rexml/doctype.rb, line 188
                def initialize name, middle, rest
                        @name = name
                        @middle = middle
                        @rest = rest
                end

Public Instance methods

[Source]

# File rexml/doctype.rb, line 194
                def to_s
                        "<!NOTATION #@name '#@middle #@rest'>"
                end

[Source]

# File rexml/doctype.rb, line 198
                def write( output, indent=-1 )
                        output << ('   '*indent) if indent > 0
                        output << to_s
                end

[Validate]