Class: Aws::Templates::Render::Utils::BaseTypeViews::ToFloat

Inherits:
BasicView show all
Defined in:
lib/aws/templates/render/utils/base_type_views.rb

Overview

Convert to float

Instance Attribute Summary

Attributes inherited from BasicView

#instance, #parameters

Instance Method Summary collapse

Methods inherited from BasicView

artifact, #in_instance, #initialize, register_in, render, #render, #rendered_for

Constructor Details

This class inherits a constructor from Aws::Templates::Render::BasicView

Instance Method Details

#to_renderedObject



74
75
76
# File 'lib/aws/templates/render/utils/base_type_views.rb', line 74

def to_rendered
  instance.to_f
end