Method: Cinch::UserList#delete

Defined in:
lib/cinch/user_list.rb

#delete(user)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Since:

  • 2.0.0



83
84
85
# File 'lib/cinch/user_list.rb', line 83

def delete(user)
  @cache.delete_if {|n, u| u == user }
end