Module: Userstamp::Stamper::ClassMethods

Defined in:
lib/userstamp/stamper.rb

Instance Method Summary collapse

Instance Method Details

#model_stamperObject


8
9
10
11
12
# File 'lib/userstamp/stamper.rb', line 8

def model_stamper
  # don't allow multiple calls
  return if included_modules.include?(Userstamp::Stamper::InstanceMethods)
  send(:extend, Userstamp::Stamper::InstanceMethods)
end