Sha256: e9a4005fad0ce277f48ea91e5e78231b73b3287fe51bc47dca710fb271bfebca

Contents?: true

Size: 681 Bytes

Versions: 9

Compression:

Stored size: 681 Bytes

Contents

# frozen_string_literal: true

require "active_support/dependencies/autoload"
require "active_support/logger"

module WebConsole
  extend ActiveSupport::Autoload

  autoload :View
  autoload :Evaluator
  autoload :ExceptionMapper
  autoload :Session
  autoload :Injector
  autoload :Interceptor
  autoload :Request
  autoload :WhinyRequest
  autoload :Permissions
  autoload :Template
  autoload :Middleware
  autoload :Context
  autoload :SourceLocation

  autoload_at "web_console/errors" do
    autoload :Error
    autoload :DoubleRenderError
  end

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

require "web_console/railtie"

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
web-console-4.2.0 lib/web_console.rb
web-console-4.1.0 lib/web_console.rb
web-console-4.0.4 lib/web_console.rb
web-console-4.0.3 lib/web_console.rb
web-console-4.0.2 lib/web_console.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/web-console-4.0.1/lib/web_console.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/web-console-4.0.1/lib/web_console.rb
web-console-4.0.1 lib/web_console.rb
web-console-4.0.0 lib/web_console.rb