Methods

Class/Module Index [+]

Quicksearch

Fog::Attributes::Float

Public Instance Methods

create_setter() click to toggle source
# File lib/fog/core/attributes/float.rb, line 4
def create_setter
  model.class_eval             def #{name}=(new_#{name})              attributes[:#{name}] = new_#{name}.to_f            end, __FILE__, __LINE__
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.