Sha256: f80bbf8de3efdd1b1384f28336569403f2d8fbbba27a848d3e44f376089e1e35

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

module MESH
  class SemanticRelationshipTypes

    def self.[](key)
      Types[key]
    end

    Types = {
      'BRD' => :broader,
      'EQV' => :equivalent,
      'NRW' => :narrower,
      'REL' => :related
    }

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mesh-medical-subject-headings-3.0.0 lib/MESH/semantic_relationship_types.rb
mesh-medical-subject-headings-2.3.0 lib/MESH/semantic_relationship_types.rb
mesh-medical-subject-headings-2.2.1 lib/MESH/semantic_relationship_types.rb
mesh-medical-subject-headings-2.2.0 lib/MESH/semantic_relationship_types.rb