Module: DB::Postgres::Native::Types::Float

Defined in:
lib/db/postgres/native/types.rb

Class Method Summary collapse

Class Method Details

.parse(string) ⇒ Object


50
51
52
# File 'lib/db/postgres/native/types.rb', line 50

def self.parse(string)
	Float(string) if string
end