mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
changed source of cd
command to prevent parser confusion
This commit is contained in:
parent
a84d6c1c87
commit
51c699ade8
2 changed files with 2 additions and 3 deletions
|
@ -298,8 +298,7 @@ e.g: eval-file -c self "hello.rb"
|
|||
|
||||
alias_command "inspect", "cat", ""
|
||||
|
||||
command "cd", "Start a Pry session on VAR (use `cd ..` to go back and `cd /` to return to Pry top-level)",
|
||||
:keep_retval => true do |obj|
|
||||
command "cd", "Start a Pry session on VAR (use `cd ..` to go back and `cd /` to return to Pry top-level)", :keep_retval => true do |obj|
|
||||
if !obj
|
||||
output.puts "Must provide an object."
|
||||
next
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
class Pry
|
||||
VERSION = "0.6.1"
|
||||
VERSION = "0.6.2"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue