mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
updated docs
This commit is contained in:
parent
c0e494756c
commit
67447893cc
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue