Skip to content

Commit

Permalink
Fold long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 10, 2015
1 parent 8c9be71 commit fc75a58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/droonga/plugins/system/absorb_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ def progress_message
remaining_seconds -= remaining_hours * ONE_HOUR_IN_SECONDS
remaining_minutes = (remaining_seconds / ONE_MINUTE_IN_SECONDS).floor
remaining_seconds -= remaining_minutes * ONE_MINUTE_IN_SECONDS
remaining_time = sprintf("%02i:%02i:%02i", remaining_hours, remaining_minutes, remaining_seconds)
remaining_time = sprintf("%02i:%02i:%02i",
remaining_hours,
remaining_minutes,
remaining_seconds)

"#{progress_percentage}% done (maybe #{remaining_time} remaining)"
end
Expand Down

0 comments on commit fc75a58

Please sign in to comment.