Module: Redis::Validations

Included in:
ORM
Defined in:
lib/redis/validations.rb

Defined Under Namespace

Modules: Uniqueness

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
# File 'lib/redis/validations.rb', line 4

def self.included(base)
  base.class_eval do
    include Redis::Validations::Uniqueness
  end
end