Module: Promethee
- Defined in:
- lib/promethee/data.rb,
lib/promethee.rb,
lib/promethee/configuration.rb,
lib/promethee/rails/version.rb
Overview
The data class can be used for any level: the page, or one of the components
Defined Under Namespace
Modules: Rails Classes: Configuration, Data
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
2 3 4 |
# File 'lib/promethee/configuration.rb', line 2 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
6 7 8 |
# File 'lib/promethee/configuration.rb', line 6 def self.configure yield configuration end |