Sha256: 5e68e2e8a160d72e2f3412a88118a8ce78f9ba18e136cec53aa51085a7ffefd6

Contents?: true

Size: 1.63 KB

Versions: 11

Compression:

Stored size: 1.63 KB

Contents

require_relative '../../version2_0'
require_relative '../../relationship'

module BELParser
  module Language
    module Version2_0
      module Relationships
        # Includes:  +compositeAbundance(A,B) includes A+ -  This
        # relationship links each individual abundance term in a
        # +compositeAbundance(<list>)+ to the compositeAbundance. For
        # example, +compositeAbundance(A, B) includes A+ and
        # +compositeAbundance(A, B) includes B+. This relationship is
        # direct because it is a _self_ relationship. This relationship
        # is introduced by the BEL Compiler and may not be used by
        # statements in BEL documents.
        class Includes
          extend Relationship

          SHORT       = :includes
          LONG        = :includes

          DESCRIPTION = <<-DOC
Includes:  +compositeAbundance(A,B) includes A+ -  This
relationship links each individual abundance term in a
+compositeAbundance(<list>)+ to the compositeAbundance. For
example, +compositeAbundance(A, B) includes A+ and
+compositeAbundance(A, B) includes B+. This relationship is
direct because it is a _self_ relationship. This relationship
is introduced by the BEL Compiler and may not be used by
statements in BEL documents.
          DOC

          def self.short
            SHORT
          end

          def self.long
            LONG
          end

          def self.description
            DESCRIPTION
          end

          def self.directed?
            true
          end

          def self.injected?
            true
          end

          def self.self?
            true
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bel_parser-1.1.6-java lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.6 lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.5 lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.4-java lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.4 lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.3-java lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.3 lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.2-java lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.2 lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.1-java lib/bel_parser/language/version2_0/relationships/includes.rb
bel_parser-1.1.1 lib/bel_parser/language/version2_0/relationships/includes.rb