Class: FReCon::Participation

Inherits:
Model show all
Defined in:
lib/frecon/models/participation.rb

Overview

Public: The Participation model.

Instance Method Summary collapse

Methods inherited from Model

controller, descendants, inherited, #no_invalid_relations

Instance Method Details

#matchesObject

Public: Get this Participation’s Competition’s Matches



28
29
30
# File 'lib/frecon/models/participation.rb', line 28

def matches
	competition.matches
end

#teamObject

Public: Get this Participation’s Robot’s Team



23
24
25
# File 'lib/frecon/models/participation.rb', line 23

def team
	robot.team
end