Class: SakaiInfo::Cache

Inherits:
Object
  • Object
show all
Defined in:
lib/sakai-info/cache.rb

Overview

cache control

Class Method Summary collapse

Class Method Details

.clear_allObject



15
16
17
18
19
20
21
# File 'lib/sakai-info/cache.rb', line 15

def self.clear_all
  SakaiObject.descendants.select { |klass|
    klass.methods.include? :clear_cache
  }.each { |klass|
    klass.clear_cache
  }
end