Module: SemanticallyTaggable::Taggable::Core

Defined in:
lib/semantically_taggable/semantically_taggable/core.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/semantically_taggable/semantically_taggable/core.rb', line 3

def self.included(base)
  base.send :include, SemanticallyTaggable::Taggable::Core::InstanceMethods
  base.extend SemanticallyTaggable::Taggable::Core::ClassMethods

  base.class_eval do
    attr_writer :custom_scheme_names
    after_save :save_tags
  end

  base.initialize_semantically_taggable_core
end