Module: RedisModel
- Defined in:
- lib/redis-model.rb
Overview
bad naming in past, will be removed
Class Method Summary collapse
-
.included(base) ⇒ Object
include all needed modules directly into main class.
Class Method Details
.included(base) ⇒ Object
include all needed modules directly into main class
7 8 9 10 11 12 |
# File 'lib/redis-model.rb', line 7 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 |