module Bio::PDB::DataType::Pdb_Specification_list

Public Class Methods

new(str) click to toggle source
# File lib/bio/db/pdb/pdb.rb, line 85
def self.new(str)
  a = str.to_s.strip.split(/\;\s*/)
  a.collect! { |x| x.split(/\:\s*/, 2) }
  a
end