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

allow_set?, 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



35
36
37
# File 'lib/aws/record/model/attributes.rb', line 35

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