This module is used when a delegate is NOT being used.
Methods
Public Instance methods
[ show source ]
# File lib/facets/more/synchash.rb, line 70 def [](key) @sync.synchronize(::Sync::SH) { super } end
[ show source ]
# File lib/facets/more/synchash.rb, line 74 def []=(key, value) @sync.synchronize(::Sync::EX) { super } end
[ show source ]
# File lib/facets/more/synchash.rb, line 82 def clear @sync.synchronize(::Sync::EX) { super } end
[ show source ]
# File lib/facets/more/synchash.rb, line 78 def delete(key) @sync.synchronize(::Sync::EX) { super } end
[ show source ]
# File lib/facets/more/synchash.rb, line 94 def keys @sync.synchronize(::Sync::SH) { super } end
[ show source ]
# File lib/facets/more/synchash.rb, line 86 def size @sync.synchronize(::Sync::SH) { super } end
[ show source ]
# File lib/facets/more/synchash.rb, line 90 def values @sync.synchronize(::Sync::SH) { super } end