Module | Bio::PDB::DataType::Pdb_Real
In: | lib/bio/db/pdb/pdb.rb

### Methods

[] new

### Public Class methods

[](fmt)

[Source]

         # File lib/bio/db/pdb/pdb.rb, line 127
    127:         def self.[](fmt)
    128:           m = Module.new
    129:           m.module_eval %Q{
    130:             @@format = fmt
    131:             def self.new(str)
    132:               str.to_f
    133:             end
    134:           }
    135:           m
    136:         end

new(str)

[Source]

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

[Validate]