Sha256: 360af92dc249cb9cefbd0782d254ee47e267c95cd5dcf2196a4bb0ed2a8a19c1

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

module DmPanlex
   class Mn
      include DataMapper::Resource

      storage_names[:default] = 'mn'

      property :mn, Integer, :key => true
      property :ap, Integer, :required => true, :index => true

      has n, :dfs, :model => 'Df', :child_key => :mn
      has n, :dms, :model => 'Dm', :child_key => :mn
      has n, :dns, :model => 'Dn', :child_key => :mn
      has n, :mis, :model => 'Mi', :child_key => :mn
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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