Sha256: fb21737320f8a63104cde69844ec21bab2043bb506a12a1026d75c2d2964e969

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

module Helpers
  module Property
    class ::Model
      include DataMapper::Resource

      property :id, Serial
    end

    def property(property_class)
      @property = property_class.new(::Model,:legacy)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-types-legacy-0.1.1 spec/helpers/property.rb
dm-types-legacy-0.1.0 spec/helpers/property.rb