Sha256: df8556459a45754eea5a25d9f12fa51ac90f326fa28d9da73cfe4a51f58d48d9
Contents?: true
Size: 965 Bytes
Versions: 2
Compression:
Stored size: 965 Bytes
Contents
unless Object.const_defined? 'Pry' $:.unshift File.expand_path '../../lib', __FILE__ require 'pry' end require 'mocha/api' require 'pry/test/helper' require 'helpers/bacon' require 'helpers/mock_pry' require 'helpers/repl_tester' class Module public :remove_const public :remove_method end # turn warnings off (esp for Pry::Hooks which will generate warnings # in tests) $VERBOSE = nil Pad = OpenStruct.new def Pad.clear @table = {} end # to help with tracking down bugs that cause an infinite loop in the test suite if ENV["SET_TRACE_FUNC"] require 'set_trace' if Pry::Helpers::BaseHelpers.rbx? set_trace_func proc { |event, file, line, id, binding, classname| STDERR.printf "%8s %s:%-2d %10s %8s\n", event, file, line, id, classname } end puts "Ruby v#{RUBY_VERSION} (#{defined?(RUBY_ENGINE) ? RUBY_ENGINE : "ruby"}), Pry v#{Pry::VERSION}, method_source v#{MethodSource::VERSION}, CodeRay v#{CodeRay::VERSION}, Slop v#{Slop::VERSION}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pry-1.0.0.pre1-i386-mswin32 | spec/helper.rb |
pry-1.0.0.pre1-i386-mingw32 | spec/helper.rb |