Add convenience method, pry_eval ⇒ pry_tester.eval

This commit is contained in:
☈king 2012-08-04 23:23:24 +00:00 committed by rking@sharpsaw.org
parent 5f7cc2576e
commit 7ecfa6d58f
1 changed files with 4 additions and 0 deletions

View File

@ -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