Sha256: 9508b50daca9536d505cc3843a84db1d8b6f43a9235680dee984719f83802de0

Contents?: true

Size: 520 Bytes

Versions: 84

Compression:

Stored size: 520 Bytes

Contents

require_relative '../../version2_0'
require_relative 'any'

module BELParser
  module Language
    module Version2_0
      module ValueEncodings
        # ProteinModification value encoding.
        class ProteinModification < Any
          # Return the {Symbol} value.
          #
          # @note This method should be overridden in subclasses.
          def self.to_sym
            raise_not_implemented(__method__) if self != ProteinModification
            :E
          end
        end
      end
    end
  end
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
bel_parser-1.0.0.alpha.16 lib/bel_parser/language/version2_0/value_encodings/protein_modification.rb
bel_parser-1.0.0.alpha.15 lib/bel_parser/language/version2_0/value_encodings/protein_modification.rb
bel_parser-1.0.0.alpha.14 lib/bel_parser/language/version2_0/value_encodings/protein_modification.rb
bel_parser-1.0.0.alpha.13 lib/bel_parser/language/version2_0/value_encodings/protein_modification.rb