fixed bug in command_processor.rb interpolation code, all tests passing now

This commit is contained in:
John Mair 2011-06-11 02:12:24 +12:00
parent 64b027c07d
commit e42bd874b4
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Pry
begin
interp_val = interpolate_string(val, target)
rescue NameError
return nil
next
end
val.replace interp_val if command_regex =~ interp_val