Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.363 kb
require File.expand_path(File.join(File.dirname(__FILE__), 'helper'))
# Create a StringIO to contain the output data
str_output =
# 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
Jump to Line
Something went wrong with that request. Please try again.