class Fog::Attributes::String

Fog String Attribute

This class handles String attributes from the providers, converting values to String objects

Public Instance Methods

create_setter() click to toggle source
# File lib/fog/core/attributes/string.rb, line 8
      def create_setter
        model.class_eval <<-EOS, __FILE__, __LINE__
            def #{name}=(new_#{name})
              attributes[:#{name}] = new_#{name}.to_s
            end
        EOS
      end