Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/flay.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#delete_eql(other) ⇒ Object
Delete anything in
self
if they are identical to anything inother
.
Instance Method Details
#delete_eql(other) ⇒ Object
Delete anything in self
if they are identical to anything in other
.
662 663 664 |
# File 'lib/flay.rb', line 662 def delete_eql other self.delete_if { |o1| other.any? { |o2| o1.equal? o2 } } end |