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

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

Class Method Summary (collapse)

Class Method Details

+ (Object) new(str)



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

def self.new(str)
  str.to_i
end