Corrected with rubocop cop 'Style/WhileUntilDo'.

This commit is contained in:
Thorsten Eckel 2015-05-05 12:09:00 +02:00
parent dd130cb704
commit 7717f7fec7
2 changed files with 2 additions and 4 deletions

View file

@ -281,5 +281,3 @@ Lint/Loop:
Enabled: false
Style/For:
Enabled: false
Style/WhileUntilDo:
Enabled: false

View file

@ -137,7 +137,7 @@ put working hours matrix and timezone in function, returns UTC working hours mat
count = 0
calculation = true
first_loop = true
while calculation do
while calculation
week_day = start_time.wday
day = start_time.day
month = start_time.month
@ -257,7 +257,7 @@ put working hours matrix and timezone in function, returns UTC working hours mat
count = diff_in_min * 60
calculation = true
first_loop = true
while calculation do
while calculation
week_day = start_time.wday
day = start_time.day
month = start_time.month