Sha256: d0426c7f42b97430d1be1f1c31191f2fcf5349a51c6b3ea30eb11fc0ce30c212

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

module Forem
  class Engine < ::Rails::Engine
    isolate_namespace Forem
    config.generators.integration_tool :rspec
		config.generators.test_framework	:rspec

		class << self
			attr_accessor :user_class
		end

		def self.user_class
			error = "Please define Forem::Engine.user_class" +
							" in config/initializers/forem.rb"
			@user_class || raise(ConfigurationNotSet, error)
		end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redlumxn-forem-0.0.2 lib/forem/engine.rb
redlumxn-forem-0.0.1 lib/forem/engine.rb