I\'ve got the following logic in my code:
if !@players.include?(p.name) ... end
@players is an array. Is there a method so
@players
Try something like this:
@players.include?(p.name) ? false : true