next_week (ActiveSupport::CoreExtensions::Date::Calculations)

    # File lib/active_support/core_ext/date/calculations.rb, line 175
            def next_week(day = :monday)
              days_into_week = { :monday => 0, :tuesday => 1, :wednesday => 2, :thursday => 3, :friday => 4, :saturday => 5, :sunday => 6}
              result = (self + 7).beginning_of_week + days_into_week[day]
              self.acts_like?(:time) ? result.change(:hour => 0) : result
            end