Method: Bio::PDB::ChemicalComponent::Record.get_record_class

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

.get_record_class(str) ⇒ Object

Look up the class in Definition hash



116
117
118
119
# File 'lib/bio/db/pdb/chemicalcomponent.rb', line 116

def self.get_record_class(str)
  t = fetch_record_name(str)
  return Definition[t]
end