Class: Mixml::Document
- Inherits:
-
Object
- Object
- Mixml::Document
- Defined in:
- lib/mixml/document.rb
Overview
Loaded XML document
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Document name.
-
#xml ⇒ String
readonly
XML document.
Instance Method Summary collapse
-
#initialize(name, xml) ⇒ Document
constructor
Initialize a new document.
Constructor Details
#initialize(name, xml) ⇒ Document
Initialize a new document
16 17 18 19 |
# File 'lib/mixml/document.rb', line 16 def initialize(name, xml) @name = name @xml = xml end |