<commit_before># Cal

Cal is a Ruby library for display nice looking, standard compliant 
monthly calendar displays in HTML. Cal is a simple interface with features 
such as highlighting days with events.

## Installation

Add this line to your application's Gemfile:

    gem 'cal'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cal

## Usage

Cal is easy to use. It supplies a default layout, including the HTML, CSS, 
and JavaScript. You simply call the display method where you want a calendar 
displayed. You pass to the method the year and month you want displayed. In 
addition you can pass a block of events that you want highlighted on the 
calendar.


For example if you wanted to display a calendar for April of 2012:

   `Cal.display(2012, 4)`

Cal defaults to the current year and month if not passed:

  `Cal.display`
<commit_msg>Updates README with a few more notes.<commit_after># Cal

Cal is a Ruby gem for display nice looking, standards compliant 
monthly calendar displays in HTML. Cal is a simple interface with features 
such as highlighting days with events.

## Installation

Add this line to your application's Gemfile:

    `gem 'cal'`

And then execute:

    `bundle`

Or install it yourself as:

    `gem install cal`

## Usage

Cal is easy to use. It supplies a default layout, including the HTML, CSS, 
and JavaScript. You simply call the display method where you want a calendar 
displayed. You pass to the method the year and month you want displayed. In 
addition you can pass a block of events that you want highlighted on the 
calendar.


For example if you wanted to display a calendar for April of 2012:

   `Cal.display(2012, 4)`

Cal defaults to the current year and month if not passed:

  `Cal.display`

## Architecture

Files included:
  - HTML view
  - CSS styling
  - Javascript for displaying events
  - helper file for setting CSS classes on elements
{'fraction_non_alphanumeric': 0.04561949196474858, 'fraction_numerical': 0.00933125972006221, 'mean_word_length': 3.6062052505966586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5571704', 'n_tokens_mistral': 542, 'n_tokens_neox': 498, 'n_words': 299}