Adds an atom to this residue
105 106 107 108 109
# File 'lib/bio/db/pdb/residue.rb', line 105 def addAtom(atom) raise "Expecting ATOM or HETATM" unless atom.is_a? Bio::PDB::Record::ATOM @atoms.push(atom) self end