You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Xml::Parser::IntegerFrame

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

Instance Attribute Summary

Attributes inherited from Frame

#parent, #ref

Instance Method Summary collapse

Methods inherited from Frame

#child_frame, #consume_child_frame, #initialize, new, #set_text

Constructor Details

This class inherits a constructor from Aws::Xml::Parser::Frame

Instance Method Details

#resultObject



262
263
264
# File 'gems/aws-sdk-core/lib/aws-sdk-core/xml/parser/frame.rb', line 262

def result
  @text.empty? ? nil : @text.join.to_i
end