Class: BroadcastEvent::SubjectHelpers::SeedSubjectAssociation
- Inherits:
-
Object
- Object
- BroadcastEvent::SubjectHelpers::SeedSubjectAssociation
- Defined in:
- app/models/broadcast_event/subject_helpers.rb
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.
71 72 73 |
# File 'app/models/broadcast_event/subject_helpers.rb', line 71 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
69 70 71 |
# File 'app/models/broadcast_event/subject_helpers.rb', line 69 def name @name end |