mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
workspace.rb: one more space
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8b6e9aa792
commit
9b48a6aec1
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ EOF
|
|||
start_pos = [pos - 5, 0].max
|
||||
end_pos = [pos + 5, lines.size - 1].min
|
||||
|
||||
fmt = "%2s %#{end_pos.to_s.length}d: %s"
|
||||
fmt = " %2s %#{end_pos.to_s.length}d: %s"
|
||||
body = (start_pos..end_pos).map do |current_pos|
|
||||
sprintf(fmt, pos == current_pos ? '=>' : '', current_pos + 1, lines[current_pos])
|
||||
end.join("")
|
||||
|
|
Loading…
Add table
Reference in a new issue