Sha256: 2a4e79cd659c4db9e7ec08467781bc43401b8ced6881d0bcfe795085cc0f70bb
Contents?: true
Size: 533 Bytes
Versions: 3
Compression:
Stored size: 533 Bytes
Contents
# -*- coding: utf-8 -*- module DataMapper module Validate 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_is_primitive :marked validates_is_primitive :color end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dm-validations-0.10.2 | spec/fixtures/memory_object.rb |
dm-validations-0.10.1 | spec/fixtures/memory_object.rb |
dm-validations-0.10.0 | spec/fixtures/memory_object.rb |