Class: Effective::MentorshipGroupUser
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Effective::MentorshipGroupUser
- Defined in:
- app/models/effective/mentorship_group_user.rb
Instance Method Summary collapse
Instance Method Details
#mentee? ⇒ Boolean
54 55 56 |
# File 'app/models/effective/mentorship_group_user.rb', line 54 def mentee? mentorship_role.to_s == 'mentee' end |
#mentor? ⇒ Boolean
50 51 52 |
# File 'app/models/effective/mentorship_group_user.rb', line 50 def mentor? mentorship_role.to_s == 'mentor' end |
#to_s ⇒ Object
46 47 48 |
# File 'app/models/effective/mentorship_group_user.rb', line 46 def to_s user.to_s.presence || model_name.human end |