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

10 commits

Author SHA1 Message Date
Matijs van Zuijlen
3376e6a0db Fix more warnings 2015-01-23 14:03:50 +01:00
Kyrylo Silin
c6f8d5c632 Revert "Get rid of Code#highlighted"
This reverts commit 5599b0a976.

And fixes jruby-head.

https://travis-ci.org/pry/pry/jobs/30420112
2014-07-20 17:32:17 -07:00
Conrad Irwin
5599b0a976 Get rid of Code#highlighted 2014-05-09 20:16:02 -07:00
Conrad Irwin
2ad1b3a1c2 add color more confidently 2014-05-01 01:53:53 -07:00
Conrad Irwin
01785a8020 Start using Pry::Code#highlighted
Before this change the watch command was broken because Pry::Code#to_s
contained ansi codes which it passed into eval.
2014-05-01 01:51:02 -07:00
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