Class: SyncArray
- Defined in:
- lib/gems/facets-2.4.5/lib/more/facets/syncarray.rb
Instance Attribute Summary collapse
-
#sync ⇒ Object
readonly
Returns the value of attribute sync.
Instance Method Summary collapse
-
#initialize(delegator = nil) ⇒ SyncArray
constructor
gmosx: delegator is not yet used.
Methods inherited from Array
#_facets_index, cast_from, #combination, #conjoin, #count, #delete_unless, #delete_values, #delete_values_at, #each_iteration, #include?, #index, #invert, #merge!, mutable_methods, #not_empty?, #only, #pad, #pad!, #parse_splat_args, #permutation, #pick_random, #power_set, #product, #random_each, #randomize, #randomize!, #recursively, #recursively!, #restore_snapshot, #rotate, #rotate!, #select!, #splice, #subset?, #superset?, #take_snapshot, #to_b, #to_h, #to_shell, #to_shellwords, #to_t, #traverse, #traverse!
Methods included from Stackable
#peek, #poke, #pop, #pull, #push
Methods included from Indexable
#body, #ends, #first, #first!, #first=, #foot, #head, #index, #last, #last!, #last=, #mid, #middle, #pos, #range, #tail, #thru
Methods included from Random
Methods included from English::Array
Constructor Details
#initialize(delegator = nil) ⇒ SyncArray
gmosx: delegator is not yet used.
51 52 53 54 |
# File 'lib/gems/facets-2.4.5/lib/more/facets/syncarray.rb', line 51 def initialize(delegator = nil) @sync = ::Sync.new() super() end |
Instance Attribute Details
#sync ⇒ Object (readonly)
Returns the value of attribute sync.
46 47 48 |
# File 'lib/gems/facets-2.4.5/lib/more/facets/syncarray.rb', line 46 def sync @sync end |