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

5 commits

Author SHA1 Message Date
Conrad Irwin
ea307f8721 Use string difference in watch 2014-02-07 18:02:00 -08:00
Robert Gleeson
0fcc10cc1f add 'Symbol' to the un'dupables. 2014-02-04 21:55:27 +01:00
Robert Gleeson
95d9d9a054 avoid dup on the UNDUP-able without rescue. 2014-02-04 21:40:34 +01:00
Conrad Irwin
a8156cbdc8 .dup watched expressions 2014-02-04 10:55:06 -08:00
Christopher Sexton
b031df2f2f Add Watch Expression Command
Usage: watch [EXPRESSION]
       watch
       watch --delete [INDEX]

Evaluate an expression after every command and display it when its value
changes.

    -d, --delete      Delete the watch expression with the given index. If
                      no index is given; clear all watch expressions.
    -l, --list        Show all current watch expressions and their values.
                      Calling watch with no expressions or options will
                      also show the watch expressions.

The watch command will use Pry's command `state` to keep track of watched
expressions.
2013-11-24 21:13:36 -05:00