Class: Bio::BioAlignment::Alignment
- Inherits:
-
Object
- Object
- Bio::BioAlignment::Alignment
- Includes:
- Pal2Nal, Enumerable
- Defined in:
- lib/bio-alignment/alignment.rb
Instance Attribute Summary collapse
-
#sequences ⇒ Object
(also: #rows)
Returns the value of attribute sequences.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize ⇒ Alignment
constructor
A new instance of Alignment.
Methods included from Pal2Nal
Constructor Details
#initialize ⇒ Alignment
Returns a new instance of Alignment.
14 15 16 |
# File 'lib/bio-alignment/alignment.rb', line 14 def initialize @sequences = [] end |
Instance Attribute Details
#sequences ⇒ Object Also known as: rows
Returns the value of attribute sequences.
12 13 14 |
# File 'lib/bio-alignment/alignment.rb', line 12 def sequences @sequences end |
Instance Method Details
#each ⇒ Object
20 21 22 |
# File 'lib/bio-alignment/alignment.rb', line 20 def each rows.each { | seq | yield seq } end |