Module: I18nDashboard

Defined in:
lib/i18n_dashboard.rb,
lib/i18n_dashboard/engine.rb,
lib/i18n_dashboard/version.rb,
lib/i18n_dashboard/configuration.rb,
app/models/i18n_dashboard/translation.rb,
app/helpers/i18n_dashboard/application_helper.rb,
app/helpers/i18n_dashboard/translations_helper.rb,
app/controllers/i18n_dashboard/application_controller.rb,
app/controllers/i18n_dashboard/translations_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, TranslationsHelper Classes: ApplicationController, Configuration, ConfigurationError, Engine, Translation, TranslationsController

Constant Summary collapse

VERSION =
"0.1.5"

Class Method Summary collapse

Class Method Details

.configurationObject

Returns I18nDashboard’s globalconfiguration. Will initialize a new instance if not already set



19
20
21
# File 'lib/i18n_dashboard.rb', line 19

def self.configuration
  @configuration ||= Configuration.new
end

.configure(&block) ⇒ Object

Set global configuration options for I18nDashboard

See Also:

  • README.md


13
14
15
# File 'lib/i18n_dashboard.rb', line 13

def self.configure(&block)
  block.call(configuration)
end