Sha256: 09648822a7e98084f42a53168631b453d661258d2b7207b97c706e3ec46f92e5

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 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
          ::IRB::ExtendCommandBundle = Pry
        rescue LoadError
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pry-rails-0.1.0 lib/pry-rails.rb