Sha256: 049b8c2b283b10e19e9c387718ba49234f194995ba16e1fae5c17956a36792ee
Contents?: true
Size: 423 Bytes
Versions: 3
Compression:
Stored size: 423 Bytes
Contents
#Predefined synchronized hash. # #===Examples # h = Tsafe::MonHash.new # h['test'] = 'trala' # ret = h['test'] class Tsafe::MonHash < ::Hash @@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] include Tsafe::Mrswlock_synmodule end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tsafe-0.0.11 | lib/tsafe_monhash.rb |
tsafe-0.0.10 | lib/tsafe_monhash.rb |
tsafe-0.0.9 | lib/tsafe_monhash.rb |