Sha256: 79c839faca55354a8724617728ef66963ac5b040af71febb1d4acc5ef4be0c39

Contents?: true

Size: 566 Bytes

Versions: 2

Compression:

Stored size: 566 Bytes

Contents

require 'debug_extras/version'
require 'active_support/concern'
require 'active_support/core_ext/string/output_safety'
require 'active_support/lazy_load_hooks'
require 'awesome_print'

module DebugExtras
  ActiveSupport.on_load :action_view do
    require 'debug_extras/helpers/view_helpers'
    ActionView::Base.send :include, DebugExtras::Helpers::ViewHelpers
  end

  ActiveSupport.on_load :action_controller_base do
    require 'debug_extras/helpers/controller_helpers'
    ActionController::Base.send :include, DebugExtras::Helpers::ControllerHelpers
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
debug-extras-0.1.0 lib/debug-extras.rb
debug-extras-0.0.1 lib/debug-extras.rb