Class: SyncArray

Inherits:
Array show all
Defined in:
lib/gems/facets-2.4.5/lib/more/facets/syncarray.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

append_features

Methods included from English::Array

#conjunction

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

#syncObject (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