Module: Stale
- Defined in:
- lib/stale/view.rb,
lib/stale/cache.rb,
lib/stale/model.rb,
lib/stale/version.rb,
lib/stale/fragments.rb,
lib/stale/interface.rb,
lib/stale/controller.rb,
lib/stale/parameters.rb,
lib/stale/dependencies.rb,
lib/stale/configuration.rb
Defined Under Namespace
Modules: Controller, Dependencies, Fragments, Interface, Model, Parameters, View
Classes: Cache, Configuration
Constant Summary
collapse
- VERSION =
"0.0.1"
Class Method Summary
collapse
Class Method Details
.cache ⇒ Object
43
44
45
|
# File 'lib/stale/configuration.rb', line 43
def self.cache
configuration.cache
end
|
33
34
35
36
37
|
# File 'lib/stale/configuration.rb', line 33
def self.configure(&block)
configuration = Configuration.new
yield configuration if block_given?
self.configuration = configuration
end
|
.interface ⇒ Object
39
40
41
|
# File 'lib/stale/configuration.rb', line 39
def self.interface
configuration.interface
end
|