Module: Leftbrained::HasWebFallback
- Defined in:
- lib/leftbrained/has_web_fallback.rb
Overview
Defined Under Namespace
Modules: ClassMethods, IncludedClassMethods, InstanceMethods
Classes: NoCachePathSetException
Class Method Summary
collapse
Class Method Details
.has_web_fallback_cache_path ⇒ Object
15
16
17
|
# File 'lib/leftbrained/has_web_fallback.rb', line 15
def self.has_web_fallback_cache_path
@has_web_fallback_cache_path || raise(NoCachePathSetException)
end
|
.has_web_fallback_cache_path=(path) ⇒ Object
11
12
13
|
# File 'lib/leftbrained/has_web_fallback.rb', line 11
def self.has_web_fallback_cache_path=(path)
@has_web_fallback_cache_path = path
end
|
.included(base) ⇒ Object
20
21
22
|
# File 'lib/leftbrained/has_web_fallback.rb', line 20
def self.included(base)
base.extend(ClassMethods)
end
|