class TCal::Calendar::HTML

Overview

Converts a collection of MBTA Alerts into a form convenient for rendering a month-view HTML calendar using CSS grids.

Defined in:

t_cal/calendar/html.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TCal::Calendar

new new

Constructor Detail

def self.new(today : Date) #

Creates a calendar instance. today is used to ensure the calendar includes the current date.


[View source]

Instance Method Detail

def months : Array(Month) #

[View source]