Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/sdoc_all/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#sort_by!(&block) ⇒ Object



2
3
4
# File 'lib/sdoc_all/core_extensions.rb', line 2

def sort_by!(&block)
  replace(sort_by(&block))
end