Class: Mspire::Ident::Search

Inherits:
Object
  • Object
show all
Includes:
SearchLike
Defined in:
lib/mspire/ident/search.rb

Instance Attribute Summary

Attributes included from SearchLike

#id, #peptide_hits

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, peptide_hits = []) ⇒ Search

Returns a new instance of Search.



45
46
47
48
# File 'lib/mspire/ident/search.rb', line 45

def initialize(id=nil, peptide_hits=[])
  @id = id
  @peptide_hits = peptide_hits
end