Module: Array::Sorted::Compositing::ArrayInterface

Includes:
Compositing::ArrayInterface, ArrayInterface
Included in:
Array::Sorted::Compositing
Defined in:
lib/array/sorted/compositing/array_interface.rb

Instance Method Summary collapse

Instance Method Details

#reverse!Object

reverse! #



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/array/sorted/compositing/array_interface.rb', line 11

def reverse!
  
  super
  
  @sub_composite_arrays.each do |this_sub_array|
    this_sub_array.instance_eval do
      parent_reversed!
    end
  end
  
end