# File lib/erector/caching.rb, line 47 def cachable(value = true) @cachable = value end
# File lib/erector/caching.rb, line 51 def cachable? if @cachable.nil? superclass.respond_to?(:cachable?) && superclass.cachable? else @cachable end end
# File lib/erector/caching.rb, line 59 def cache @@cache ||= nil end
# File lib/erector/caching.rb, line 63 def cache=(c) @@cache = c end
# File lib/erector/caching.rb, line 43 def cacheable(value = true) @cachable = value end