Class: Aws::Xml::Parser::StringFrame Private

Inherits:
Frame
  • Object
show all
Defined in:
lib/aws-sdk-core/xml/parser/frame.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from Frame

#parent, #result, #shape

Instance Method Summary collapse

Methods inherited from Frame

#child_frame, #consume_child_frame, new

Constructor Details

#initialize(*args) ⇒ StringFrame

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of StringFrame.



256
257
258
259
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 256

def initialize(*args)
  super
  @result = ''
end

Instance Method Details

#set_text(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



260
261
262
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 260

def set_text(value)
  @result = value
end