Class: Trackerific::Builders::Base::XML

Inherits:
Struct
  • Object
show all
Defined in:
lib/trackerific/builders/base/xml.rb

Class Attribute Summary collapse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ XML

Returns a new instance of XML.



8
9
10
11
12
# File 'lib/trackerific/builders/base/xml.rb', line 8

def initialize(*args)
  super(*args)
  @xml = ""
  build
end

Class Attribute Details

.xml_versionObject

Returns the value of attribute xml_version.



3
4
5
# File 'lib/trackerific/builders/base/xml.rb', line 3

def xml_version
  @xml_version
end

Instance Attribute Details

#xmlObject (readonly)

Returns the value of attribute xml.



6
7
8
# File 'lib/trackerific/builders/base/xml.rb', line 6

def xml
  @xml
end