lib/vscal/calendar_printer.rb
def weeks_for_month(month)
      weeks = []
      day = first_day_of_month(month)
      while day.month == month.month
        weeks << week_display(day)
        day = first_day_of_next_week(day)
      end
      weeks
    end
# produce the printable strings for the weeks in the given month
produce the printable strings for the weeks in the given month
produce the printable strings for the weeks in the given month
def weeks_for_month(month)
      weeks = []
      day = first_day_of_month(month)
      while day.month == month.month
        weeks << week_display(day)
        day = first_day_of_next_week(day)
      end
      weeks
    end
def weeks_for_month ( month ) weeks = [ ] day = first_day_of_month ( month ) while day . month == month . month weeks << week_display ( day ) day = first_day_of_next_week ( day ) end weeks end
produce the printable strings for the weeks in the given month
produce the printable strings for the weeks in the given month
month