Class: Ms::Mascot::Dat::Proteins::Protein

Inherits:
Struct
  • Object
show all
Defined in:
lib/ms/mascot/dat/proteins.rb

Overview

Protein

Represents protein data.

# 87153.77,"Zinc finger protein 711 (Zinc finger protein 6) - Homo sapiens (Human)"

index  example              meaning
0      87153.77             protein mass in Da
1      "Zinc finger..."     a description string

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



27
28
29
# File 'lib/ms/mascot/dat/proteins.rb', line 27

def description
  @description
end

#massObject

Returns the value of attribute mass

Returns:

  • (Object)

    the current value of mass



27
28
29
# File 'lib/ms/mascot/dat/proteins.rb', line 27

def mass
  @mass
end