Method: Interage::DateTimeHelper#business_days_from_now
- Defined in:
- lib/interage/date_time_helper.rb
#business_days_from_now(days = 2) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/interage/date_time_helper.rb', line 5 def business_days_from_now(days = 2) date = days.to_i.business_days.from_now.to_date return l(date) if business_day?(date) business_days_from_now(days + 1) end |