Sha256: 24908a6161c3ac9b3f64d1e0323f91d8121974c91b741c707fa6fc1c54e287fd

Contents?: true

Size: 1.28 KB

Versions: 6

Compression:

Stored size: 1.28 KB

Contents

require_relative '../../version1_0'
require_relative '../../relationship'

module BELParser
  module Language
    module Version1_0
      module Relationships
        # HasProduct:  +reaction(reactants(A), products(B)) hasProduct B+ -  This relationship links abundance terms from the +products(<list>)+ in a reaction to the reaction. This is a direct relationship because it is a _self_ relationship. Products are produced directly by a reaction. This relationship is introduced by the BEL Compiler and may not be used by statements in BEL documents.
        class HasProduct
          extend Relationship

          SHORT       = :hasProduct
          LONG        = :hasProduct
          DESCRIPTION = ' +reaction(reactants(A), products(B)) hasProduct B+ -  This relationship links abundance terms from the +products(<list>)+ in a reaction to the reaction. This is a direct relationship because it is a _self_ relationship. Products are produced directly by a reaction. This relationship is introduced by the BEL Compiler and may not be used by statements in BEL documents.'.freeze

          def self.short
            SHORT
          end

          def self.long
            LONG
          end

          def self.description
            DESCRIPTION
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bel_parser-1.0.0.alpha.7 lib/bel_parser/language/version1_0/relationships/has_product.rb
bel_parser-1.0.0.alpha.6 lib/bel_parser/language/version1_0/relationships/has_product.rb
bel_parser-1.0.0.alpha.5 lib/bel_parser/language/version1_0/relationships/has_product.rb
bel_parser-1.0.0.alpha.4 lib/bel_parser/language/version1_0/relationships/has_product.rb
bel_parser-1.0.0.alpha.3 lib/bel_parser/language/version1_0/relationships/has_product.rb
bel_parser-1.0.0.alpha.2 lib/bel_parser/language/version1_0/relationships/has_product.rb