Class: Group

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

Overview

class Group < ActiveRecord::Base

Instance Method Summary collapse

Methods inherited from Party

#controller, #icon, #to_sym

Instance Method Details

#includes?(user) ⇒ Boolean

Returns:

  • (Boolean)


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

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