Module: Ekylibre::PluginSystem::ConsoleHelper

Defined in:
lib/ekylibre/plugin_system/console_helper.rb

Overview

Helper methods to access the container from the Rails console

Instance Method Summary collapse

Instance Method Details

#containerCorindon::DependencyInjection::Container

Provides an easy access to the container from the console context.

Returns:

  • (Corindon::DependencyInjection::Container)


9
10
11
# File 'lib/ekylibre/plugin_system/console_helper.rb', line 9

def container
  GlobalContainer.get
end