Class: Sequelinha::Adapters::Postgres
- Inherits:
-
ConnectionURL
- Object
- ConnectionURL
- Sequelinha::Adapters::Postgres
- Defined in:
- lib/sequelinha/adapters/postgres.rb
Instance Attribute Summary
Attributes inherited from ConnectionURL
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ConnectionURL
#application_root, #database, #host, #initialize, #password, #string, #username
Constructor Details
This class inherits a constructor from Sequelinha::ConnectionURL
Class Method Details
.=~(adapter) ⇒ Object
8 9 10 |
# File 'lib/sequelinha/adapters/postgres.rb', line 8 def self.=~(adapter) adapter =~ /postgre/ end |
Instance Method Details
#adapter ⇒ Object
4 5 6 |
# File 'lib/sequelinha/adapters/postgres.rb', line 4 def adapter super == "postgresql" ? "postgres" : super end |