Module: Taggable::Model

Defined in:
lib/taggable/model.rb

Defined Under Namespace

Modules: ClassMethods, TaggableClassMethods, TaggableInstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/taggable/model.rb', line 4

def self.included(base)
  base.extend ClassMethods
  base.class_eval {
    @@taggable_models = []
    cattr_accessor :taggable_models
  }
end