Module: WebConsole

Extended by:
ActiveSupport::Autoload
Defined in:
lib/web_console.rb,
lib/web_console/view.rb,
lib/web_console/errors.rb,
lib/web_console/context.rb,
lib/web_console/railtie.rb,
lib/web_console/request.rb,
lib/web_console/session.rb,
lib/web_console/version.rb,
lib/web_console/injector.rb,
lib/web_console/template.rb,
lib/web_console/evaluator.rb,
lib/web_console/middleware.rb,
lib/web_console/interceptor.rb,
lib/web_console/permissions.rb,
lib/web_console/whiny_request.rb,
lib/web_console/testing/helper.rb,
lib/web_console/source_location.rb,
lib/web_console/exception_mapper.rb,
lib/web_console/testing/erb_precompiler.rb,
lib/web_console/testing/fake_middleware.rb

Defined Under Namespace

Modules: Interceptor, Testing Classes: Context, Evaluator, ExceptionMapper, Injector, Middleware, Permissions, Railtie, Request, Session, SourceLocation, Template, View, WhinyRequest

Constant Summary collapse

Error =

The base class for every Web Console related error.

Class.new(StandardError)
DoubleRenderError =

Raised when there is an attempt to render a console more than once.

Class.new(Error)
VERSION =
"4.2.1"

Class Method Summary collapse

Class Method Details

.deprecatorObject



32
33
34
# File 'lib/web_console.rb', line 32

def self.deprecator
  @deprecator ||= ActiveSupport::Deprecation.new("5.0", "WebConsole")
end

.loggerObject



28
29
30
# File 'lib/web_console.rb', line 28

def self.logger
  (defined?(Rails.logger) && Rails.logger) || (@logger ||= ActiveSupport::Logger.new($stderr))
end