Module: ThreeD::ModelFragments
- Defined in:
- lib/three_d/model_fragments.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary
collapse
Class Method Details
.clear_cache_file(type = "") ⇒ Object
9
10
11
12
|
# File 'lib/three_d/model_fragments.rb', line 9
def self.clear_cache_file(type = "")
ThreeDCachingLog.debug "delete Fragment: #{ActionController::Base.cache_store.cache_path}/views/#{type}*"
%x(rm -f #{ActionController::Base.cache_store.cache_path}/views/#{type}*)
end
|
.included(base) ⇒ Object
5
6
7
|
# File 'lib/three_d/model_fragments.rb', line 5
def self.included(base)
base.extend ClassMethods
end
|