Sha256: 1d5ae5dea4fc729b001cf392eab9080838c78b2982a3fafebbe3df0f881b5af5
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
# Predefined synchronized hash. # #===Examples # h = Tsafe::MonHash.new # h['test'] = 'trala' # ret = h['test'] class Tsafe::MonHash < ::Hash # rubocop:disable Style/ClassVars @@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] # rubocop:enable Style/ClassVars include Tsafe::Mrswlock_synmodule end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tsafe-0.0.12 | lib/tsafe_monhash.rb |