convert start_line to an integer
This commit is contained in:
parent
07ae5c08b5
commit
e83241e41e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue