Class: DB::Postgres::Native::Types::Decimal
- Inherits:
-
Object
- Object
- DB::Postgres::Native::Types::Decimal
- Defined in:
- lib/db/postgres/native/types.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
63 64 65 |
# File 'lib/db/postgres/native/types.rb', line 63 def name "DECIMAL" end |
#parse(string) ⇒ Object
67 68 69 |
# File 'lib/db/postgres/native/types.rb', line 67 def parse(string) BigDecimal(string) if string end |