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

added parentheses back in to shell.rb to remove warnings from tests

This commit is contained in:
John Mair 2011-08-06 08:56:20 +11:00
parent 6a0e829ebb
commit 38a9cb0785

View file

@ -3,7 +3,7 @@ class Pry
Shell = Pry::CommandSet.new do
command /\.(.*)/, "All text following a '.' is forwarded to the shell.", :listing => ".<shell command>", :use_prefix => false do |cmd|
command(/\.(.*)/, "All text following a '.' is forwarded to the shell.", :listing => ".<shell command>", :use_prefix => false) do |cmd|
if cmd =~ /^cd\s+(.+)/i
dest = $1
begin