Module: Merrymenu

Defined in:
lib/merrymenu/config.rb,
lib/merrymenu/builder.rb,
lib/merrymenu/railtie.rb,
lib/merrymenu/version.rb,
lib/merrymenu/view_helper.rb,
lib/generators/merrymenu/install_generator.rb

Defined Under Namespace

Modules: Generators, Helper Classes: Configuration, Configure, Menu, Railtie, Tab, Tabs

Constant Summary collapse

Builder =
Configure.new
VERSION =
"0.0.7"

Class Method Summary collapse

Class Method Details

.configObject



12
13
14
# File 'lib/merrymenu/config.rb', line 12

def self.config
  @config
end

.configure {|@config ||= Merrymenu::Configuration.new| ... } ⇒ Object

Configures global settings for Kaminari

Merrymenu.configure do |config|
  config.use_I18n_translation = false
end

Yields:



8
9
10
# File 'lib/merrymenu/config.rb', line 8

def self.configure(&block)
  yield @config ||= Merrymenu::Configuration.new
end