Class: Array

Inherits:
Object show all
Includes:
CountBy, ExtractLastArgumentOptions, Shuffle, Tins::Rotate, UniqBy
Defined in:
lib/tins/xt/rotate.rb,
lib/tins/xt/shuffle.rb,
lib/tins/xt/uniq_by.rb,
lib/tins/xt/count_by.rb,
lib/tins/xt/extract_last_argument_options.rb

Instance Method Summary collapse

Methods included from Tins::Rotate

#rotate, #rotate!

Instance Method Details

#uniq_by!(&b) ⇒ Object



11
12
13
# File 'lib/tins/xt/uniq_by.rb', line 11

def uniq_by!(&b)
  replace uniq_by(&b)
end