class Mixml::Document

Loaded XML document

Attributes

name[R]

@return [String] Document name

xml[R]

@return [String] XML document

Public Class Methods

new(name, xml) click to toggle source

Initialize a new document

@param name [String] Document name @param xml [Nokigiri::XML::Document] XML document

# File lib/mixml/document.rb, line 16
def initialize(name, xml)
    @name = name
    @xml = xml
end