Sha256: e00adf5fd061a3446449256d6889a3b4b9827a929e1e8d10fa117b9f99d4e26d

Contents?: true

Size: 288 Bytes

Versions: 30

Compression:

Stored size: 288 Bytes

Contents

direc = File.dirname(__FILE__)

require 'rubygems'
require "#{direc}/../lib/pry"

my_print = proc { |out, value| out.puts "Output is: #{value.inspect}" }
           
# Start a Pry session using the print object defined in my_print
Pry.start(TOPLEVEL_BINDING, :print => my_print)

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
pry-0.6.7 examples/example_print.rb
pry-0.6.7-i386-mswin32 examples/example_print.rb
pry-0.6.7-i386-mingw32 examples/example_print.rb
pry-0.6.7pre4 examples/example_print.rb
pry-0.6.7pre4-i386-mswin32 examples/example_print.rb
pry-0.6.7pre4-i386-mingw32 examples/example_print.rb
pry-0.6.6 examples/example_print.rb
pry-0.6.5 examples/example_print.rb
pry-0.6.4 examples/example_print.rb
pry-0.6.3 examples/example_print.rb
pry-0.6.2 examples/example_print.rb
pry-0.6.1 examples/example_print.rb
pry-0.6.0 examples/example_print.rb
pry-0.5.9 examples/example_print.rb
pry-0.5.8 examples/example_print.rb
pry-0.5.7 examples/example_print.rb
pry-0.5.6 examples/example_print.rb
pry-0.5.5 examples/example_print.rb
pry-0.5.4 examples/example_print.rb
pry-0.5.2 examples/example_print.rb