Class: XmlGenerator

Inherits:
String show all
Defined in:
lib/aliyun/oss/extensions.rb

Overview

:nodoc:

Direct Known Subclasses

Aliyun::OSS::Logging::Status::Builder

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from String

#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?

Constructor Details

#initializeXmlGenerator

Returns a new instance of XmlGenerator.



357
358
359
360
361
# File 'lib/aliyun/oss/extensions.rb', line 357

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

Instance Attribute Details

#xmlObject (readonly)

Returns the value of attribute xml.



356
357
358
# File 'lib/aliyun/oss/extensions.rb', line 356

def xml
  @xml
end