Module: Schedulable::ActsAsSchedulable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/schedulable/acts_as_schedulable.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.occurrences_associations_for(clazz) ⇒ Object
156 157 158 159 160 161 162 163 |
# File 'lib/schedulable/acts_as_schedulable.rb', line 156 def self.occurrences_associations_for(clazz) @@schedulable_occurrences||= [] @@schedulable_occurrences.select { |item| item[:class] == clazz }.map { |item| item[:name] } end |