1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

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

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