Method: CleanModel::Base.included
- Defined in:
- lib/clean_model/base.rb
.included(base) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/clean_model/base.rb', line 4 def self.included(base) base.send :extend, ClassMethods base.send :include, InstanceMethods base.send :extend, ActiveModel::Translation base.send :include, ActiveModel::Validations end |