Sha256: 4940810859eef11c00d5cbd9c1b3557e91646e287c1a7476cd496127a8b023e8

Contents?: true

Size: 783 Bytes

Versions: 1

Compression:

Stored size: 783 Bytes

Contents

require "active_support/concern"
require "active_support/core_ext/object/try"
require "active_support/dependencies/autoload"
require "active_support/lazy_load_hooks"

module DebugExtras
  extend ActiveSupport::Autoload

  autoload :DebugPage
  autoload :Dumper
  autoload :Injector
  autoload :Settings
end

ActiveSupport.on_load :action_view do
  require "debug_extras/ext/action_view"
  ::ActionView::Base.send :include, DebugExtras::ActionView
end

ActiveSupport.on_load :action_controller do
  require "debug_extras/ext/action_controller"
  ::ActionController::Base.send :include, DebugExtras::ActionController
end

require "debug_extras/core_ext/kernel"
require "debug_extras/exceptions"
require "debug_extras/version"

require "debug_extras/railtie" if defined? Rails::Railtie

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
debug-extras-0.4.3 lib/debug-extras.rb