Class: Peatio::Ranger::Router::ConnectionArray

Inherits:
Array
  • Object
show all
Defined in:
lib/peatio/ranger/router.rb

Instance Method Summary collapse

Instance Method Details

#delete(connection) ⇒ Object



11
12
13
14
15
# File 'lib/peatio/ranger/router.rb', line 11

def delete(connection)
  delete_if do |c|
    c.id == connection.id
  end
end