Class: Ms::Sequest::Srf::Out::Protein
- Inherits:
-
Object
- Object
- Ms::Sequest::Srf::Out::Protein
- Includes:
- Ident::Protein
- Defined in:
- lib/ms/sequest/srf.rb
Instance Method Summary collapse
-
#initialize(reference = nil, peptides = []) ⇒ Protein
constructor
A new instance of Protein.
- #inspect ⇒ Object
Constructor Details
#initialize(reference = nil, peptides = []) ⇒ Protein
Returns a new instance of Protein.
738 739 740 741 |
# File 'lib/ms/sequest/srf.rb', line 738 def initialize(reference=nil, peptides=[]) self[0] = reference self[1] = peptides end |
Instance Method Details
#inspect ⇒ Object
747 748 749 |
# File 'lib/ms/sequest/srf.rb', line 747 def inspect "<Ms::Sequest::Srf::Out::Protein @reference=#{reference}, @peptides(#)=#{peptides.size}>" end |