Top Level Namespace
Defined Under Namespace
Modules: DataObjects
Instance Method Summary collapse
-
#config_value(type) ⇒ Object
need to check dynamically for libraries and include files directories.
- #have_build_env ⇒ Object
Instance Method Details
#config_value(type) ⇒ Object
need to check dynamically for libraries and include files directories
8 9 10 11 12 13 14 15 |
# File 'ext/do_oracle/extconf.rb', line 8 def config_value(type) case type when 'libdir' '/usr/local/oracle/instantclient_10_2' when 'includedir' '/usr/local/oracle/instantclient_10_2/sdk/include' end end |
#have_build_env ⇒ Object
17 18 19 20 21 22 |
# File 'ext/do_oracle/extconf.rb', line 17 def have_build_env # have_library('occi') && # have_library('clntsh') && # have_header('oci.h') true end |