Sha256: 01f5376d71415fc36c92a44c3e42439353c95bac46bf8ea8e172cd9c018e6c61

Contents?: true

Size: 343 Bytes

Versions: 7

Compression:

Stored size: 343 Bytes

Contents

require "e9s/engine"
require "e9s/actionpack"

module E9s
  extend self

  MODULES = %w(cms i18n pluralization)

  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

end

E9s.require_modules

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
e9s-2.2.7 lib/e9s.rb
e9s-2.2.6 lib/e9s.rb
e9s-2.2.5 lib/e9s.rb
e9s-2.2.4 lib/e9s.rb
e9s-2.2.3 lib/e9s.rb
e9s-2.2.2 lib/e9s.rb
e9s-2.2.1 lib/e9s.rb