Method: Bio::PDB::Model#initialize

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

#initialize(serial = nil, structure = nil) ⇒ Model

Creates a new Model object



39
40
41
42
43
44
45
46
# File 'lib/bio/db/pdb/model.rb', line 39

def initialize(serial = nil, structure = nil)
  
  @serial = serial
  @structure = structure
  @chains = []
  @chains_hash = {}
  @solvents = Chain.new('', self)
end