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.4pre1 examples/example_output.rb
pry-0.8.4pre1-i386-mswin32 examples/example_output.rb
pry-0.8.4pre1-i386-mingw32 examples/example_output.rb
pry-0.8.4pre1-java examples/example_output.rb
pry-0.8.3 examples/example_output.rb
pry-0.8.3-i386-mswin32 examples/example_output.rb
pry-0.8.3-i386-mingw32 examples/example_output.rb
pry-0.8.3-java examples/example_output.rb
pry-0.8.2 examples/example_output.rb
pry-0.8.2-i386-mswin32 examples/example_output.rb
pry-0.8.2-i386-mingw32 examples/example_output.rb
pry-0.8.2-java examples/example_output.rb
pry-0.8.1 examples/example_output.rb
pry-0.8.1-i386-mswin32 examples/example_output.rb
pry-0.8.1-i386-mingw32 examples/example_output.rb
pry-0.8.1-java examples/example_output.rb
pry-0.8.0 examples/example_output.rb
pry-0.8.0-i386-mswin32 examples/example_output.rb
pry-0.8.0-i386-mingw32 examples/example_output.rb
pry-0.8.0-java examples/example_output.rb