Top Level Namespace
Defined Under Namespace
Modules: RDO
Instance Method Summary collapse
-
#bigdecimal ⇒ Object
RDO PostgreSQL driver.
- #config_value(type) ⇒ Object
- #have_build_env ⇒ Object
-
#rdo ⇒ Object
RDO PostgreSQL driver.
Instance Method Details
#bigdecimal ⇒ Object
RDO PostgreSQL driver. Copyright © 2012 Chris Corbyn.
See LICENSE file for details.
8 |
# File 'lib/rdo/postgres/array/numeric.rb', line 8 require "bigdecimal" |
#config_value(type) ⇒ Object
9 10 11 |
# File 'ext/rdo_postgres/extconf.rb', line 9 def config_value(type) IO.popen("pg_config --#{type}").readline.chomp rescue nil end |
#have_build_env ⇒ Object
13 14 15 16 17 18 19 |
# File 'ext/rdo_postgres/extconf.rb', line 13 def have_build_env [ have_library("pq") || have_library("libpq"), have_header("libpq-fe.h"), have_header("postgres.h") ].all? end |
#rdo ⇒ Object
RDO PostgreSQL driver. Copyright © 2012 Chris Corbyn.
See LICENSE file for details.
8 |
# File 'lib/rdo/postgres.rb', line 8 require "rdo" |