Sha256: 1d14838b66c1fe7f73809762d868d940a8b6db9e8db82380539bb1c03e5442b6

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
e9s-2.1.4 lib/e9s.rb
e9s-2.1.3 lib/e9s.rb
e9s-2.1.2 lib/e9s.rb
e9s-2.1.1 lib/e9s.rb