Sha256: 684ae6f4c528ad5f28c7a254c4755d610ee4c41441676219dd27762d9e274029
Contents?: true
Size: 546 Bytes
Versions: 14
Compression:
Stored size: 546 Bytes
Contents
# -*- coding: utf-8 -*- module DataMapper module Validations module Fixtures class MemoryObject # # Behaviors # include ::DataMapper::Resource # # Properties # property :id, Serial property :marked, Boolean, :auto_validation => false property :color, String, :auto_validation => false # # Validations # validates_primitive_type_of :marked validates_primitive_type_of :color end end end end
Version data entries
14 entries across 14 versions & 2 rubygems