Module: Saver

Extended by:
ActiveSupport::Concern
Defined in:
lib/saver.rb,
lib/saver/version.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
"0.1.0"

Instance Method Summary collapse

Instance Method Details

#save_saversObject



28
29
30
31
32
# File 'lib/saver.rb', line 28

def save_savers
  self.class.savers.each do |attribute, method|
    self.send("#{attribute}_saver=", self.send(attribute).send(method))
  end
end