Class: Array

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#delete_eql(other) ⇒ Object

Delete anything in self if they are identical to anything in other.



671
672
673
# File 'lib/flay.rb', line 671

def delete_eql other
  self.delete_if { |o1| other.any? { |o2| o1.equal? o2 } }
end