Class: DB::Postgres::Native::Types::Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/db/postgres/native/types.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



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