module ThreeD::ModelFragments

Public Class Methods

clear_cache_file(type = "") click to toggle source
# File lib/three_d/model_fragments.rb, line 8
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) click to toggle source
# File lib/three_d/model_fragments.rb, line 4
def self.included(base)
  base.extend ClassMethods
end