Module: SkeletonLoader
- Defined in:
- lib/skeleton_loader.rb,
lib/skeleton_loader/engine.rb,
lib/skeleton_loader/version.rb,
lib/skeleton_loader/view_helpers.rb,
lib/skeleton_loader/configuration.rb,
lib/skeleton_loader/template_renderer.rb,
lib/skeleton_loader/template_path_finder.rb,
lib/skeleton_loader/skeleton_element_generator.rb,
lib/generators/skeleton_loader/add_templates_generator.rb,
lib/generators/skeleton_loader/reset_templates_generator.rb,
app/controllers/skeleton_loader/skeleton_loader_controller.rb
Overview
generating HTML components for skeleton loaders.
Defined Under Namespace
Modules: Generators, ViewHelpers
Classes: Configuration, Engine, Error, SkeletonElementGenerator, SkeletonLoaderController, TemplatePathFinder, TemplateRenderer
Constant Summary
collapse
- VERSION =
"0.1.2"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
25
26
27
|
# File 'lib/skeleton_loader.rb', line 25
def self.configuration
@configuration ||= Configuration.new
end
|
29
30
31
|
# File 'lib/skeleton_loader.rb', line 29
def self.configure
yield(configuration) if block_given?
end
|
.reset ⇒ Object
33
34
35
|
# File 'lib/skeleton_loader.rb', line 33
def self.reset
@configuration = Configuration.new
end
|