Class: BroadcastEvent::SubjectHelpers::SeedSubjectAssociation
- Inherits:
-
Object
- Object
- BroadcastEvent::SubjectHelpers::SeedSubjectAssociation
- Defined in:
- app/models/broadcast_event/subject_helpers.rb
Overview
rubocop:todo Style/Documentation
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #for(seed, _event) ⇒ Object
-
#initialize(name) ⇒ SeedSubjectAssociation
constructor
A new instance of SeedSubjectAssociation.
Constructor Details
#initialize(name) ⇒ SeedSubjectAssociation
Returns a new instance of SeedSubjectAssociation.
70 71 72 |
# File 'app/models/broadcast_event/subject_helpers.rb', line 70 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
68 69 70 |
# File 'app/models/broadcast_event/subject_helpers.rb', line 68 def name @name end |