convert start_line to an integer

This commit is contained in:
Joe Peduto 2012-02-04 07:57:52 -05:00
parent 07ae5c08b5
commit e83241e41e
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class Pry
lines = lines.lines lines = lines.lines
end end
@lines = lines.each_with_index.map { |l, i| [l.chomp, i + start_line] } @lines = lines.each_with_index.map { |l, i| [l.chomp, i + start_line.to_i] }
@code_type = code_type @code_type = code_type
end end