From 0aae812f3b817d73da6919544894a423e1e05730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mon=20ou=C3=AFe?= Date: Sat, 16 Apr 2011 23:27:48 +0200 Subject: [PATCH] Fixed documentation for Pry#re --- lib/pry/pry_instance.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pry/pry_instance.rb b/lib/pry/pry_instance.rb index 3fb91f01..8b2fbab2 100644 --- a/lib/pry/pry_instance.rb +++ b/lib/pry/pry_instance.rb @@ -151,7 +151,8 @@ class Pry # If no parameter is given, default to top-level (main). # @param [Object, Binding] target The receiver of the read-eval-print # @return [Object] The result of the eval or an `Exception` object in case of - # error. In the latter case, you can check whether the exception + # error. In the latter case, you can check whether the exception was raised + # or is just the result of the expression using #last_result_is_exception? # @example # Pry.new.re(Object.new) def re(target=TOPLEVEL_BINDING)