Class: FastaRecord
- Inherits:
-
Object
- Object
- FastaRecord
- Defined in:
- lib/bio-table/parsers/fastareader.rb
Instance Attribute Summary collapse
-
#descr ⇒ Object
Returns the value of attribute descr.
-
#id ⇒ Object
Returns the value of attribute id.
-
#seq ⇒ Object
Returns the value of attribute seq.
Instance Method Summary collapse
-
#initialize(id, descr, seq) ⇒ FastaRecord
constructor
A new instance of FastaRecord.
Constructor Details
#initialize(id, descr, seq) ⇒ FastaRecord
Returns a new instance of FastaRecord.
8 9 10 11 12 |
# File 'lib/bio-table/parsers/fastareader.rb', line 8 def initialize id, descr, seq @id = id @descr = descr @seq = seq end |
Instance Attribute Details
#descr ⇒ Object
Returns the value of attribute descr.
6 7 8 |
# File 'lib/bio-table/parsers/fastareader.rb', line 6 def descr @descr end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/bio-table/parsers/fastareader.rb', line 6 def id @id end |
#seq ⇒ Object
Returns the value of attribute seq.
6 7 8 |
# File 'lib/bio-table/parsers/fastareader.rb', line 6 def seq @seq end |