module ActiveRecord::Userstamp::Stamper::ClassMethods

Public Instance Methods

model_stamper() click to toggle source
# File lib/active_record/userstamp/stamper.rb, line 5
def model_stamper
  # don't allow multiple calls
  return if singleton_class.included_modules.include?(InstanceMethods)
  extend ActiveRecord::Userstamp::Stamper::InstanceMethods
end