Module: Cyc::ThreadSafeClientExtension

Defined in:
lib/cyc/client.rb

Overview

:nodoc:

Constant Summary collapse

THR_VAR_TEMLPATE =
'_cyc_client_$%s_%s'

Class Method Summary collapse

Class Method Details

.extend_object(obj) ⇒ Object



282
283
284
285
# File 'lib/cyc/client.rb', line 282

def self.extend_object(obj)
  obj.instance_variable_set "@thrconn", (THR_VAR_TEMLPATE%[obj.object_id, 'conn']).intern
  super
end