Sha256: 04f7a794124b612556b55c6a08622bf8eba9883038361a37f045832bff5eebfc

Contents?: true

Size: 279 Bytes

Versions: 111

Compression:

Stored size: 279 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

111 entries across 111 versions & 1 rubygems

Version Path
pry-0.8.4pre1 examples/example_print.rb
pry-0.8.4pre1-i386-mswin32 examples/example_print.rb
pry-0.8.4pre1-i386-mingw32 examples/example_print.rb
pry-0.8.4pre1-java examples/example_print.rb
pry-0.8.3 examples/example_print.rb
pry-0.8.3-i386-mswin32 examples/example_print.rb
pry-0.8.3-i386-mingw32 examples/example_print.rb
pry-0.8.3-java examples/example_print.rb
pry-0.8.2 examples/example_print.rb
pry-0.8.2-i386-mswin32 examples/example_print.rb
pry-0.8.2-i386-mingw32 examples/example_print.rb
pry-0.8.2-java examples/example_print.rb
pry-0.8.1 examples/example_print.rb
pry-0.8.1-i386-mswin32 examples/example_print.rb
pry-0.8.1-i386-mingw32 examples/example_print.rb
pry-0.8.1-java examples/example_print.rb
pry-0.8.0 examples/example_print.rb
pry-0.8.0-i386-mswin32 examples/example_print.rb
pry-0.8.0-i386-mingw32 examples/example_print.rb
pry-0.8.0-java examples/example_print.rb