Skip to content

Commit

Permalink
gc_rubocop autocorrect v2.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeSouthan committed Jan 31, 2022
1 parent 8f08da4 commit 4a2406e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/business/calendar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def subtract_business_days(date, delta)
# Count the number of business days between two dates.
# This method counts from start of date1 to start of date2. So,
# business_days_between(mon, weds) = 2 (assuming no holidays)
# rubocop:disable Metrics/AbcSize
def business_days_between(date1, date2)
date1 = date1.to_date
date2 = date2.to_date
Expand Down Expand Up @@ -190,7 +189,6 @@ def business_days_between(date1, date2)
num_biz_days + remaining_range.count { |a| business_day?(a) }
end

# rubocop:enable Metrics/AbcSize
def day_interval_for(date)
date.is_a?(Date) ? 1 : 3600 * 24
end
Expand Down

0 comments on commit 4a2406e

Please sign in to comment.