Module: Compass::Configuration
- Extended by:
- ActiveSupport::Concern
- Included in:
- Compass
- Defined in:
- lib/compass/configuration.rb,
lib/compass/configuration/layout.rb,
lib/compass/configuration/notification.rb
Overview
Configuration options for Compass.
To configure, use the configure method. For example:
Compass.configure do |config|
A Compass::Context subclass, instantiated per request. It is responsible
for authentication, context identification, caching timestamps and client
auth. See Compass::Context.
config.context = CompassContext
# Configure menu
config..items = %w[ TestMenu ]
config..cache = 3600
end
Defined Under Namespace
Modules: Breadcrumb, Client, Menu, Search Classes: Layout, Notification