Module: Commontator::ActsAsCommontable
- Defined in:
- lib/commontator/acts_as_commontable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 |
# File 'lib/commontator/acts_as_commontable.rb', line 5 def self.included(base) base.class_attribute :is_commontable base.is_commontable = false base.extend(ClassMethods) end |