Module: Commontator::ActsAsCommontator

Defined in:
lib/commontator/acts_as_commontator.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
# File 'lib/commontator/acts_as_commontator.rb', line 4

def self.included(base)
  base.class_attribute :is_commontator
  base.is_commontator = false
  base.extend(ClassMethods)
end