Sha256: b2d21110b80f9eba8707488b22fd557b3c8442d77f26a1c4e0093ab2683e3474
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
# Predefined synchronized array. # #===Examples # arr = Tsafe::MonArray.new # arr << 5 # ret = arr[0] class Tsafe::MonArray < ::Array # rubocop:disable Style/ClassVars @@tsafe_mrswlock_w_methods = [:<<, :collect, :collect!, :compact!, :delete, :delete_at, :delete_if, :drop, :drop_while, :fill, :flatten!, :insert, :keep_if, :map, :map!, :replace, :shuffle!, :slice!, :shift, :sort!, :sort_by!, :unshift] @@tsafe_mrswlock_r_methods = [:each, :each_index, :take_while] # 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_monarray.rb |