Module: DB::Postgres::Native::Types::Decimal

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

Class Method Summary collapse

Class Method Details

.parse(string) ⇒ Object


44
45
46
# File 'lib/db/postgres/native/types.rb', line 44

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