Module: Ms::Mascot::Dat

Included in:
Archive
Defined in:
lib/ms/mascot/dat.rb,
lib/ms/mascot/dat/query.rb,
lib/ms/mascot/dat/archive.rb,
lib/ms/mascot/dat/section.rb,
lib/ms/mascot/dat/summary.rb,
lib/ms/mascot/dat/peptides.rb,
lib/ms/mascot/dat/proteins.rb,
lib/ms/mascot/dat/summary/id.rb

Defined Under Namespace

Classes: Archive, Header, Index, Masses, Parameters, Peptides, Proteins, Query, Section, Summary

Constant Summary collapse

CONTENT_TYPE_CLASSES =

A hash of (section_name, SectionClass) pairs mapping section names to section class. Initially SectionClass may be a require path; if so the path is required and the class looked up like:

Ms::Mascot::Dat.const_get(section_name.capitalize)

Such that ‘header’ is mapped to Ms::Mascot::Dat::Header.

{}

Class Method Summary collapse

Class Method Details

.open(filename, &block) ⇒ Object

gives the block the opened Ms::Mascot::Dat::Archive object



8
9
10
# File 'lib/ms/mascot/dat.rb', line 8

def open(filename, &block)
  Archive.open(filename, &block)
end