Module: OCI8AutoBinder
- Defined in:
- lib/oci8-auto-binder.rb,
lib/oci8-auto-binder/base.rb,
lib/oci8-auto-binder/version.rb
Defined Under Namespace
Classes: OCI8
Constant Summary collapse
- ORIGINAL_OCI8 =
::OCI8
- VERSION =
"0.2.1"
Class Method Summary collapse
-
.logger ⇒ Object
get logger.
-
.logger=(logger) ⇒ Object
パースした結果を保存するログファイルを渡します set Logger for the purpose of logging.
-
.replace_original_class! ⇒ Object
OCI8をOCI8AutoBinder::OCI8に置き換えます replace to OCI8AutoBinder::OCI8 from OCI8.
Class Method Details
.logger ⇒ Object
get logger
25 26 27 |
# File 'lib/oci8-auto-binder/base.rb', line 25 def self.logger @logger end |
.logger=(logger) ⇒ Object
パースした結果を保存するログファイルを渡しますset Logger for the purpose of logging
20 21 22 |
# File 'lib/oci8-auto-binder/base.rb', line 20 def self.logger=(logger) @logger = logger end |
.replace_original_class! ⇒ Object
OCI8をOCI8AutoBinder::OCI8に置き換えますreplace to OCI8AutoBinder::OCI8 from OCI8
11 12 13 14 15 16 |
# File 'lib/oci8-auto-binder/base.rb', line 11 def self.replace_original_class! unless @replaced Object.const_set(:OCI8, ::OCI8AutoBinder::OCI8) @replaced = true end end |