This module is used when a delegate is NOT being used.
Methods
Public Instance methods
[ show source ]
# File lib/more/facets/synchash.rb, line 87 def [](key) @sync.synchronize(::Sync::SH) { super } end
[ show source ]
# File lib/more/facets/synchash.rb, line 91 def []=(key, value) @sync.synchronize(::Sync::EX) { super } end
[ show source ]
# File lib/more/facets/synchash.rb, line 99 def clear @sync.synchronize(::Sync::EX) { super } end
[ show source ]
# File lib/more/facets/synchash.rb, line 95 def delete(key) @sync.synchronize(::Sync::EX) { super } end
[ show source ]
# File lib/more/facets/synchash.rb, line 111 def keys @sync.synchronize(::Sync::SH) { super } end
[ show source ]
# File lib/more/facets/synchash.rb, line 103 def size @sync.synchronize(::Sync::SH) { super } end
[ show source ]
# File lib/more/facets/synchash.rb, line 107 def values @sync.synchronize(::Sync::SH) { super } end