From 7ecfa6d58f507a3a28bddbcfb4e567e050b3265b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=88king?= Date: Sat, 4 Aug 2012 23:23:24 +0000 Subject: [PATCH] =?UTF-8?q?Add=20convenience=20method,=20pry=5Feval=20?= =?UTF-8?q?=E2=87=92=20pry=5Ftester.eval?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/helper.rb b/test/helper.rb index 35bbaab1..2fe6e60a 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -209,6 +209,10 @@ def pry_tester(context = TOPLEVEL_BINDING, &block) end end +def pry_eval(*eval_strs) + pry_tester.eval(*eval_strs) +end + class PryTester attr_reader :pry, :out