Method: Bio::FastaDefline#to_s
- Defined in:
- lib/bio/db/fasta/defline.rb
#to_s ⇒ Object
Shows original string. Note that the result of this method may be different from original string which is given in FastaDefline.new method.
327 328 329 330 331 332 |
# File 'lib/bio/db/fasta/defline.rb', line 327 def to_s @deflines.collect { |a| s = a[0] (a[1..-2].collect { |x| x.join(s) }.join(s) + ' ' + a[-1]).strip }.join("\x01") end |