Module: RedisTags

Defined in:
lib/redis_tags.rb,
lib/redis_tags/version.rb,
lib/redis_tags/redis_tag.rb,
lib/redis_tags/redis_tag_list.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: RedisTag, RedisTagList

Constant Summary collapse

VERSION =
"0.0.4"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/redis_tags.rb', line 7

def self.included(base)
  base.class_eval do

    extend ClassMethods
    include InstanceMethods

    after_save :update_tags_to_redis

    @@redis_tags_engine = nil
    @@acts_as_taggable_on_steroids_legacy = false
  end
end