Sha256: 3880edc3f94a4baed0a4c562a9f5615023ed65ce190a7b21650101c33d35e6a4

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

module DmPanlex
   class Lc
      include DataMapper::Resource

      storage_names[:default] = 'lc'

      property :lc, String, :length => 3, :key => true
      property :tp, String, :length => 1, :required => true

      has n, :i1s, :model => 'I1', :child_key => :iso3
      has n, :lvs, :model => 'Lv', :child_key => :lc
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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