Module Bio::PDB::DataType::Pdb_Real
In: lib/bio/db/pdb/pdb.rb  (CVS)

Methods

[]   new  

Public Class methods

[Source]

# File lib/bio/db/pdb/pdb.rb, line 127
        def self.[](fmt)
          m = Module.new
          m.module_eval %Q{
            @@format = fmt
            def self.new(str)
              str.to_f
            end
          }
          m
        end

[Source]

# File lib/bio/db/pdb/pdb.rb, line 137
        def self.new(str)
          str.to_f
        end

[Validate]