Class: FReCon::Participation
- Defined in:
- lib/frecon/models/participation.rb
Overview
Public: The Participation model.
Instance Method Summary collapse
-
#matches ⇒ Object
Public: Get this Participation’s Competition’s Matches.
-
#team ⇒ Object
Public: Get this Participation’s Robot’s Team.
Methods inherited from Model
controller, descendants, inherited, #no_invalid_relations
Instance Method Details
#matches ⇒ Object
Public: Get this Participation’s Competition’s Matches
28 29 30 |
# File 'lib/frecon/models/participation.rb', line 28 def matches competition.matches end |
#team ⇒ Object
Public: Get this Participation’s Robot’s Team
23 24 25 |
# File 'lib/frecon/models/participation.rb', line 23 def team robot.team end |