Module: Userstamper::Stamper::ClassMethods

Defined in:
lib/userstamper/stamper.rb

Instance Method Summary collapse

Instance Method Details

#model_stamperObject



5
6
7
8
9
# File 'lib/userstamper/stamper.rb', line 5

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