Module: Extlib
- Defined in:
- lib/extlib/logger.rb,
lib/extlib.rb,
lib/extlib/hook.rb,
lib/extlib/pooling.rb,
lib/extlib/version.rb,
lib/extlib/assertions.rb,
lib/extlib/byte_array.rb,
lib/extlib/inflection.rb,
lib/extlib/simple_set.rb
Overview
This class has exists to represent binary data. This is mainly used by DataObjects. Binary data sometimes needs to be quoted differently than regular string data (even if the string is just plain ASCII).
Defined Under Namespace
Modules: Assertions, Hook, Inflection, Pooling Classes: ByteArray, Logger, SimpleSet
Constant Summary collapse
- VERSION =
'0.9.12'
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
37 38 39 |
# File 'lib/extlib/logger.rb', line 37 def logger @logger end |
Class Method Details
.exiting ⇒ Object
53 54 55 56 |
# File 'lib/extlib.rb', line 53 def self.exiting return @exiting if defined?(@exiting) @exiting = false end |
.exiting=(bool) ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'lib/extlib.rb', line 44 def self.exiting= bool if bool && Extlib.const_defined?('Pooling') if Extlib::Pooling.scavenger? Extlib::Pooling.scavenger.wakeup end end @exiting = true end |