Sha256: 3b9e7fce5659d4c252a9c4d1995e083dc6234cd26b341f56d2dea326ae2fc269

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 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, :parent_key => :lc, :child_key => :iso3
      has n, :lvs, :parent_key => :lc, :child_key => :lc
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dm_panlex-0.2.0 lib/dm_panlex/models/lc.rb