Method: Bio::PDB#to_s
- Defined in:
- lib/bio/db/pdb/pdb.rb
#to_s ⇒ Object
Returns a string of Bio::PDB::Models. This propogates down the heirarchy till you get to Bio::PDB::Record::ATOM which are outputed in PDB format
1646 1647 1648 1649 1650 1651 |
# File 'lib/bio/db/pdb/pdb.rb', line 1646 def to_s string = "" @models.each{ |model| string << model.to_s } string << "END\n" return string end |