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

Fix indentation.

This commit is contained in:
Rob Gleeson 2011-05-05 00:49:15 +01:00
parent 8f4844cbf7
commit d5cbbf8630

View file

@ -30,8 +30,8 @@ class Pry
def add_line_numbers(lines, start_line)
line_array = lines.each_line.to_a
line_array.each_with_index.map do |line, idx|
adjusted_index = idx + start_line
"#{colorize adjusted_index}: #{line}"
adjusted_index = idx + start_line
"#{colorize adjusted_index}: #{line}"
end.join
end