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.



655
656
657
# File 'lib/flay.rb', line 655

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