From 67447893cc81c31a867f79c5ccafd3fa91f7171a Mon Sep 17 00:00:00 2001 From: John Mair Date: Sat, 26 Feb 2011 14:00:55 +1300 Subject: [PATCH] updated docs --- lib/pry/pry_instance.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pry/pry_instance.rb b/lib/pry/pry_instance.rb index 9cc76faa..84424b05 100644 --- a/lib/pry/pry_instance.rb +++ b/lib/pry/pry_instance.rb @@ -67,7 +67,9 @@ class Pry # Start a read-eval-print-loop. # If no parameter is given, default to top-level (main). # @param [Object, Binding] target The receiver of the Pry session - # @return [Object] The target of the Pry session + # @return [Object] The target of the Pry session or an explictly given + # return value. If given return value is `nil` or no return value + # is specified then `target` will be returned. # @example # Pry.new.repl(Object.new) def repl(target=TOPLEVEL_BINDING)