pry/pry — Issue #371: Write a read_expression() utility function instead of using mini pry instances
Author: banister
Created: 2011-12-11 12:52:57+00:00
State: open
Labels: refactor

Replace `code = Pry.new(:input => StringIO.new(Pry.line_buffer[source_line..-1].join), :prompt => proc {""}, :hooks => Pry::Hooks.new).r` with a utility function (in the Pry::Method#source method)