Class: Jumbotron::Public::Participant
- Inherits:
-
Data
- Object
- Data
- Jumbotron::Public::Participant
- Defined in:
- app/models/jumbotron/public.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#role ⇒ Object
readonly
Returns the value of attribute role.
-
#score ⇒ Object
readonly
Returns the value of attribute score.
-
#team ⇒ Object
readonly
Returns the value of attribute team.
Instance Method Summary collapse
-
#initialize(role:, score:, result:, team:, record: nil) ⇒ Participant
constructor
A new instance of Participant.
Constructor Details
#initialize(role:, score:, result:, team:, record: nil) ⇒ Participant
Returns a new instance of Participant.
33 34 35 |
# File 'app/models/jumbotron/public.rb', line 33 def initialize(role:, score:, result:, team:, record: nil) super end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record
32 33 34 |
# File 'app/models/jumbotron/public.rb', line 32 def record @record end |
#result ⇒ Object (readonly)
Returns the value of attribute result
32 33 34 |
# File 'app/models/jumbotron/public.rb', line 32 def result @result end |
#role ⇒ Object (readonly)
Returns the value of attribute role
32 33 34 |
# File 'app/models/jumbotron/public.rb', line 32 def role @role end |
#score ⇒ Object (readonly)
Returns the value of attribute score
32 33 34 |
# File 'app/models/jumbotron/public.rb', line 32 def score @score end |
#team ⇒ Object (readonly)
Returns the value of attribute team
32 33 34 |
# File 'app/models/jumbotron/public.rb', line 32 def team @team end |