Module: BroadcastEvent::SubjectHelpers::SingleTarget

Included in:
BlockSingleSubjectAssociation, SimpleSingleSubjectAssociation
Defined in:
app/models/broadcast_event/subject_helpers.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Instance Method Details

#for(seed, event) ⇒ Object


57
58
59
# File 'app/models/broadcast_event/subject_helpers.rb', line 57

def for(seed, event)
  Subject.new(name, target_for(seed, event))
end