Sha256: 0ad837d3fff4d0600a86d6c99608abc73c9d4a452695814f46e43a5172c3bbb7

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

module DmPanlex
   class Wcex
      include DataMapper::Resource

      storage_names[:default] = 'wcex'

      property :ex, Integer, :key => true
      property :tt, Text, :required => true, :unique_index => true

      has n, :wcs, :model => 'Wc', :child_key => :ex
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm_panlex-0.2.2 lib/dm_panlex/models/wcex.rb
dm_panlex-0.2.1 lib/dm_panlex/models/wcex.rb