Sha256: f7ccab71837b03f171c4d2d69f94c52d23909d68fa66d1c784646ccf70d7c049

Contents?: true

Size: 212 Bytes

Versions: 1

Compression:

Stored size: 212 Bytes

Contents

require 'mongo_doc/validations/macros'

module MongoDoc
  module Validations
    def self.included(klass)
      klass.class_eval do
        include ::Validatable
        extend Macros
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_doc_rails2-0.6.1 lib/mongo_doc/validations.rb