Method: Sync_m#sync_extend
- Defined in:
- lib/sync.rb
#sync_extend ⇒ Object
102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/sync.rb', line 102 def sync_extend unless (defined? locked? and defined? shared? and defined? exclusive? and defined? lock and defined? unlock and defined? try_lock and defined? synchronize) Sync_m.define_aliases(singleton_class) end sync_initialize end |