Method: Bio::PDB#addModel

Defined in:
lib/bio/db/pdb/pdb.rb

#addModel(model) ⇒ Object

Adds a Bio::Model object to the current strucutre. Adds a model to the current structure. Returns self.



1614
1615
1616
1617
1618
# File 'lib/bio/db/pdb/pdb.rb', line 1614

def addModel(model)
  raise "Expecting a Bio::PDB::Model" if not model.is_a? Bio::PDB::Model
  @models.push(model)
  self
end