Module: E9s

Extended by:
E9s
Included in:
E9s
Defined in:
lib/e9s.rb,
lib/e9s/engine.rb

Defined Under Namespace

Modules: Engine

Constant Summary collapse

MODULES =
%w(cms i18n pluralization)

Instance Method Summary collapse

Instance Method Details

#require_modulesObject



10
11
12
13
14
15
16
17
# File 'lib/e9s.rb', line 10

def require_modules
  MODULES.each do |mod|
    require "rich_#{mod}"
  end
rescue LoadError => e
  # Re-raise as RuntimeError because Mongrel would swallow LoadError.
  raise e.to_s
end