Module: Rooftop::Rails
- Defined in:
- lib/rooftop/rails.rb,
lib/rooftop/rails/engine.rb,
lib/rooftop/rails/errors.rb,
lib/rooftop/rails/version.rb,
lib/rooftop/rails/cache_expirer.rb,
lib/rooftop/rails/route_resolver.rb,
lib/rooftop/rails/post_type_resolver.rb,
app/helpers/rooftop/rails/menu_helper.rb,
app/helpers/rooftop/rails/content_helper.rb,
app/controllers/concerns/rooftop/rails/preview.rb,
app/models/concerns/rooftop/rails/nested_model.rb,
app/models/concerns/rooftop/rails/object_cache.rb,
app/models/concerns/rooftop/rails/preview_model.rb,
app/controllers/concerns/rooftop/rails/nested_resource.rb
Defined Under Namespace
Modules: ContentHelper, MenuHelper, NestedModel, NestedResource, ObjectCache, Preview, PreviewModel Classes: AncestorMismatch, CacheExpirer, Configuration, DevelopmentConstraint, Engine, PostTypeResolver, PreviewController, RouteResolver, UnknownObjectForExpiry, WebhooksController
Constant Summary collapse
- VERSION =
"0.1.5.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
8 9 10 |
# File 'lib/rooftop/rails.rb', line 8 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
11 12 13 14 |
# File 'lib/rooftop/rails.rb', line 11 def self.configure self.configuration ||= Configuration.new yield(configuration) end |