module Bio::PDB::DataType::Pdb_Real
Public Class Methods
[](fmt)
click to toggle source
# File lib/bio/db/pdb/pdb.rb, line 128 def self.[](fmt) m = Module.new m.module_eval %Q{ @@format = fmt def self.new(str) str.to_f end } m end
new(str)
click to toggle source
# File lib/bio/db/pdb/pdb.rb, line 138 def self.new(str) str.to_f end