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

Class: AWS::Record::Model::Attributes::FloatAttr

Inherits:
Attributes::FloatAttr show all
Defined in:
lib/aws/record/model/attributes.rb

Direct Known Subclasses

SortableFloatAttr

Instance Attribute Summary

Attributes inherited from Attributes::BaseAttr

#name, #options

Class Method Summary collapse

Methods inherited from Attributes::FloatAttr

type_cast

Methods inherited from Attributes::BaseAttr

allow_set?, #default_value, deserialize, #deserialize, #initialize, #persist_as, #serialize, #set?, #type_cast

Constructor Details

This class inherits a constructor from AWS::Record::Attributes::BaseAttr

Class Method Details

.serialize(float, options = {}) ⇒ Object



33
34
35
# File 'lib/aws/record/model/attributes.rb', line 33

def self.serialize float, options = {}
  super.to_s
end