Sha256: ed1c9ffd169edb8d026d9bb5f7c302a990f50ec301e7280ba235470c7447d471
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
require "pry-rails/version" module PryRails if(defined?(::Rails) and ::Rails::VERSION::MAJOR >= 3) class Railtie < ::Rails::Railtie silence_warnings do begin require 'pry' ::IRB = Pry unless defined?(IRB::ExtendCommandBundle) IRB::ExtendCommandBundle = Module.new end if ::Rails::VERSION::MINOR >= 2 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend Rails::ConsoleMethods end rescue LoadError end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pry-rails-0.1.4 | lib/pry-rails.rb |