Module: Bio::PDB::DataType::Pdb_Integer

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

Class Method Summary collapse

Class Method Details

.new(str) ⇒ Object



67
68
69
# File 'lib/bio/db/pdb/pdb.rb', line 67

def self.new(str)
  str.to_i
end