Class: Group

Inherits:
Party
  • Object
show all
Defined in:
app/models/group.rb

Instance Method Summary collapse

Methods inherited from Party

#controller, #current_speed, #icon, #to_sym

Instance Method Details

#includes?(user) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/models/group.rb', line 12

def includes?(user)
  return users.include?(user)
end