Sha256: 5f9e55cae9398e928f40999eaeeb5efce5bbf1881a5365fc58f120c940f5e3ce

Contents?: true

Size: 374 Bytes

Versions: 111

Compression:

Stored size: 374 Bytes

Contents

direc = File.dirname(__FILE__)

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

# Create a StringIO to contain the output data
str_output = StringIO.new

# Start a Pry session on the Fixnum 5 using str_output to store the
# output (not writing to $stdout)
Pry.start(5, :output => str_output)

# Display all the output accumulated during the session
puts str_output.string

Version data entries

111 entries across 111 versions & 1 rubygems

Version Path
pry-0.8.0pre2-i386-mswin32 examples/example_output.rb
pry-0.8.0pre2-java examples/example_output.rb
pry-0.8.0pre2 examples/example_output.rb
pry-0.8.0pre2-i386-mingw32 examples/example_output.rb
pry-0.8.0pre1-i386-mingw32 examples/example_output.rb
pry-0.8.0pre1 examples/example_output.rb
pry-0.8.0pre1-i386-mswin32 examples/example_output.rb
pry-0.8.0pre1-java examples/example_output.rb
pry-0.7.7.2-i386-mingw32 examples/example_output.rb
pry-0.7.7.2-i386-mswin32 examples/example_output.rb
pry-0.7.7.2 examples/example_output.rb
pry-0.7.7.2-java examples/example_output.rb
pry-0.7.7.1-i386-mswin32 examples/example_output.rb
pry-0.7.7.1-java examples/example_output.rb
pry-0.7.7.1 examples/example_output.rb
pry-0.7.7.1-i386-mingw32 examples/example_output.rb
pry-0.7.7-i386-mswin32 examples/example_output.rb
pry-0.7.7-java examples/example_output.rb
pry-0.7.7 examples/example_output.rb
pry-0.7.7-i386-mingw32 examples/example_output.rb