Class: Tsafe::MonHash

Inherits:
Hash
  • Object
show all
Includes:
Mrswlock_synmodule
Defined in:
lib/tsafe_monhash.rb

Overview

Predefined synchronized hash.

Examples

h = Tsafe::MonHash.new
h['test'] = 'trala'
ret = h['test']

Constant Summary collapse

@@tsafe_mrswlock_w_methods =
[:[]=, :clear, :delete, :delete_if, :keep_if, :merge!, :rehash, :reject!, :replace, :select!, :shift, :store, :update, :values_at]
@@tsafe_mrswlock_r_methods =
[:each, :each_key, :each_pair, :each_value]

Method Summary

Methods included from Mrswlock_synmodule

included