Module: ActiveRecord::Userstamp::Stamper::ClassMethods
- Defined in:
- lib/active_record/userstamp/stamper.rb
Instance Method Summary collapse
Instance Method Details
#model_stamper ⇒ Object
5 6 7 8 9 |
# 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 |