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.7.3-java examples/example_output.rb
pry-0.7.3-i386-mingw32 examples/example_output.rb
pry-0.7.3-i386-mswin32 examples/example_output.rb
pry-0.7.3 examples/example_output.rb
pry-0.7.2-i386-mingw32 examples/example_output.rb
pry-0.7.2 examples/example_output.rb
pry-0.7.2-java examples/example_output.rb
pry-0.7.2-i386-mswin32 examples/example_output.rb
pry-0.7.1-i386-mingw32 examples/example_output.rb
pry-0.7.1-java examples/example_output.rb
pry-0.7.1 examples/example_output.rb
pry-0.7.1-i386-mswin32 examples/example_output.rb
pry-0.7.0-java examples/example_output.rb
pry-0.7.0-i386-mingw32 examples/example_output.rb
pry-0.7.0 examples/example_output.rb
pry-0.7.0-i386-mswin32 examples/example_output.rb
pry-0.7.0pre6 examples/example_output.rb
pry-0.7.0pre5 examples/example_output.rb
pry-0.7.0pre4-i386-mingw32 examples/example_output.rb
pry-0.7.0pre4-i386-mswin32 examples/example_output.rb