Class: XmlGenerator

Inherits:
String show all
Defined in:
lib/aws/s3/extensions.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from String

#previous, #previous!, #to_header, #underscore

Constructor Details

#initializeXmlGenerator

Returns a new instance of XmlGenerator.



180
181
182
183
184
# File 'lib/aws/s3/extensions.rb', line 180

def initialize
  @xml = Builder::XmlMarkup.new(:indent => 2, :target => self)
  super()
  build
end

Instance Attribute Details

#xmlObject (readonly)

Returns the value of attribute xml.



179
180
181
# File 'lib/aws/s3/extensions.rb', line 179

def xml
  @xml
end