Closed dfucci closed 3 years ago
Thanks for your contribution but I have several remarks:
scope_settings.xml
I don't want to know why ^^advance_to_working_time
does, I think you should leave this line in the loop and only extract the # look at working ranges
part. These extracted methods could be named something like: work_during_day
, use_daily_periods
or something else describing what it does.@dfucci are you willing to take @jarthod 's comments into consideration and continue with this PR or do you want me to take over ?
@Intrepidd please go ahead.
Hello, I have noticed that one of the method to compute the time (Computation#add_seconds) was 15 lines long. I have refactored it by extracting 2 private methods