Module: Participant
- Defined in:
- app/models/participant.rb
Defined Under Namespace
Modules: Associations
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'app/models/participant.rb', line 4 def self.included(base) return if @@types.include?(base) @@types << base base.instance_eval do include Associations end end |
.types ⇒ Object
13 14 15 |
# File 'app/models/participant.rb', line 13 def self.types @@types.sort end |