Class: Mspire::Ident::Protein
- Inherits:
-
Object
- Object
- Mspire::Ident::Protein
- Includes:
- ProteinLike
- Defined in:
- lib/mspire/ident/protein.rb
Overview
a generic protein class that is ProteinLike
Instance Attribute Summary
Attributes included from ProteinLike
Instance Method Summary collapse
-
#initialize(id = nil, sequence = nil) ⇒ Protein
constructor
A new instance of Protein.
Methods included from ProteinLike
Constructor Details
#initialize(id = nil, sequence = nil) ⇒ Protein
Returns a new instance of Protein.
28 29 30 |
# File 'lib/mspire/ident/protein.rb', line 28 def initialize(id=nil, sequence=nil) (@id, @sequence) = id, sequence end |