Sha256: 6ce8f76aa5a72b98421d433652b507fd7392d1d806e8079cd7be8d3af65a5de2

Contents?: true

Size: 756 Bytes

Versions: 4

Compression:

Stored size: 756 Bytes

Contents

# (C) John Mair (banisterfiend) 2011
# MIT License

require "method_source"
require 'shellwords'
require "readline"
require "stringio"
require "coderay"

if RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
  begin
    require 'win32console'
  rescue LoadError
    $stderr.puts "Need to `gem install win32console`"
    exit 1
  end
end

require "pry/version"
require "pry/hooks"
require "pry/print"
require "pry/command_base"
require "pry/commands"
require "pry/prompts"
require "pry/custom_completions"
require "pry/completion"
require "pry/core_extensions"
require "pry/pry_class"
require "pry/pry_instance"


# TEMPORARY HACK FOR BUG IN JRUBY 1.9 REGEX (which kills CodeRay)
if RUBY_VERSION =~ /1.9/ && RUBY_ENGINE =~ /jruby/
  Pry.color = false
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pry-0.8.3 lib/pry.rb
pry-0.8.3-i386-mswin32 lib/pry.rb
pry-0.8.3-i386-mingw32 lib/pry.rb
pry-0.8.3-java lib/pry.rb