Flowdock
method

days_span

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: Calculations
days_span(day) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/date_and_time/calculations.rb, line 258
    def days_span(day)
      (DAYS_INTO_WEEK[day] - DAYS_INTO_WEEK[Date.beginning_of_week]) % 7
    end
Register or log in to add new notes.