Class: REXML::ExternalEntity
Instance Attribute Summary
Attributes inherited from Child
Instance Method Summary collapse
-
#initialize(src) ⇒ ExternalEntity
constructor
A new instance of ExternalEntity.
- #to_s ⇒ Object
- #write(output, indent) ⇒ Object
Methods inherited from Child
#bytes, #document, #next_sibling=, #previous_sibling=, #remove, #replace_with
Methods included from Node
#each_recursive, #find_first_recursive, #indent, #index_in_parent, #next_sibling_node, #parent?, #previous_sibling_node
Constructor Details
#initialize(src) ⇒ ExternalEntity
Returns a new instance of ExternalEntity.
264 265 266 267 |
# File 'lib/rexml/doctype.rb', line 264 def initialize( src ) super() @entity = src end |
Instance Method Details
#to_s ⇒ Object
268 269 270 |
# File 'lib/rexml/doctype.rb', line 268 def to_s @entity end |
#write(output, indent) ⇒ Object
271 272 273 |
# File 'lib/rexml/doctype.rb', line 271 def write( output, indent ) output << @entity end |