Class: DB::Postgres::Native::Types::Symbol
- Inherits:
-
Object
- Object
- DB::Postgres::Native::Types::Symbol
- Defined in:
- lib/db/postgres/native/types.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
85 86 87 |
# File 'lib/db/postgres/native/types.rb', line 85 def name "ENUM" end |
#parse(string) ⇒ Object
89 90 91 |
# File 'lib/db/postgres/native/types.rb', line 89 def parse(string) string&.to_sym end |