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)