Class: Ms::Sequest::Srf::Out::Prot

Inherits:
Object
  • Object
show all
Includes:
Id::Protein
Defined in:
lib/ms/sequest/srf.rb

Instance Method Summary collapse

Constructor Details

#initialize(reference = nil, peps = []) ⇒ Prot

Returns a new instance of Prot.


721
722
723
724
725
726
727
# File 'lib/ms/sequest/srf.rb', line 721

def initialize(reference=nil, peps=[])
  #super(@@arr_size)
  super(self.class.size)  #@reference = reference
  #@peps = peps

  self[0,2] = reference, peps
end

Instance Method Details

#inspectObject


733
734
735
# File 'lib/ms/sequest/srf.rb', line 733

def inspect
  "<Ms::Sequest::Srf::Out::Prot @reference=#{reference}, @peps(#)=#{peps.size}>"
end