Methods

Class/Module Index [+]

Quicksearch

Fog::Attributes::Integer

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.