Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/array.rb

Instance Method Summary collapse

Instance Method Details

#destroy!Object

Add a destroy all method to arrays



5
6
7
# File 'lib/core_ext/array.rb', line 5

def destroy!
  each { |o| o.destroy! }
end