From d5cbbf86301b94db3b57a1845a9a272a6f4c4c7a Mon Sep 17 00:00:00 2001 From: Rob Gleeson Date: Thu, 5 May 2011 00:49:15 +0100 Subject: [PATCH] Fix indentation. --- lib/pry/helpers/command_helpers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pry/helpers/command_helpers.rb b/lib/pry/helpers/command_helpers.rb index ba4fd715..d44610bb 100644 --- a/lib/pry/helpers/command_helpers.rb +++ b/lib/pry/helpers/command_helpers.rb @@ -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