Conrad Irwin
d24e95f7fd
Handle negativity in Pry::Code#take_lines [ Fixes #886 ]
2013-03-24 21:22:43 -07:00
Kyrylo Silin
ce99ec425a
Command::Hist: change the behaviour
...
Fix issue #205 (history option to show just history for current session)
Add `--all` switch. `hist` is `hist --all` now. `hist` without any
parameters shows the history of the current session.
2013-03-17 10:43:06 +02:00
Kyrylo Silin
fed97f0738
Hist: fix --exclude-pry
switch
...
Fix issue #874 (hist -e breaks with TypeError: can't convert
Pry::Code::LOC to String)
And add a test for that switch.
2013-03-12 20:53:28 +02:00
Conrad Irwin
a61277d89b
Make hist command just use _pry_.eval
2012-12-28 06:44:04 -08:00
Conrad Irwin
47ad5fd53f
s/context=/push_binding
2012-12-17 23:58:02 -08:00
Conrad Irwin
bb96695c8a
Move history pushing before command execution
...
This separates out concerns a little better, and paves the way for
extracing process_command from retreive_line.
2012-12-10 10:42:05 -08:00
☈king
848b6bdbeb
Rename for tabcompletion-friendliness.
2012-11-15 18:59:51 -06:00