Sha256: 3b556abff344bf6a3fbac755e8ce9dd0bc17581ddec34a9ebf383f9f214e284c

Contents?: true

Size: 375 Bytes

Versions: 3

Compression:

Stored size: 375 Bytes

Contents

# -*- encoding : utf-8 -*-

#bad naming in past, will be removed
module RedisModel

  #include all needed modules directly into main class
  def self.included(base) 
    puts "WARNING: Using include RedisModel is deprecated and will be removed in future! Please use 'include RedisModelExtension'"
    base.class_eval do  
      include RedisModelExtension
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redis-model-extension-0.4.2 lib/redis-model.rb
redis-model-extension-0.4.1 lib/redis-model.rb
redis-model-extension-0.4.0 lib/redis-model.rb