Class: DB::Postgres::Native::Types::Boolean
- Inherits:
-
Object
- Object
- DB::Postgres::Native::Types::Boolean
- Defined in:
- lib/db/postgres/native/types.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
53 54 55 |
# File 'lib/db/postgres/native/types.rb', line 53 def name "BOOLEAN" end |
#parse(string) ⇒ Object
57 58 59 |
# File 'lib/db/postgres/native/types.rb', line 57 def parse(string) string == 't' end |