Module: Vimo

Defined in:
lib/vimo.rb,
lib/vimo/engine.rb,
lib/vimo/version.rb,
lib/vimo/ownerable.rb,
lib/vimo/expandable.rb,
app/models/vimo/item.rb,
app/models/vimo/field.rb,
app/models/vimo/entity.rb,
lib/vimo/configuration.rb,
app/models/vimo/system_name.rb,
app/helpers/vimo/items_helper.rb,
app/jobs/vimo/application_job.rb,
app/helpers/vimo/entities_helper.rb,
app/models/vimo/application_record.rb,
app/helpers/vimo/application_helper.rb,
app/mailers/vimo/application_mailer.rb,
app/controllers/vimo/items_controller.rb,
app/controllers/vimo/entities_controller.rb,
app/controllers/vimo/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, EntitiesHelper, Expandable, ItemsHelper, Ownerable, SystemName Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, ConfigurationError, Engine, EntitiesController, Entity, Field, Item, ItemsController

Constant Summary collapse

VERSION =
"0.1.3"

Class Method Summary collapse

Class Method Details

.configurationObject

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



21
22
23
# File 'lib/vimo.rb', line 21

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

.configure(&block) ⇒ Object

Set global configuration options for I18nDashboard

See Also:

  • README.md


15
16
17
# File 'lib/vimo.rb', line 15

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