Module: MakeTaggable::Tagger

Defined in:
lib/make_taggable/tagger.rb

Overview

Ownership of tags. Mixed into Active Record automatically, which is what puts ClassMethods#make_tagger on every model.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, SingletonMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

  • base (Class)

    the class being extended



15
16
17
# File 'lib/make_taggable/tagger.rb', line 15

def self.included(base)
  base.extend ClassMethods
end