<commit_before># ice_cube - easy date expansion

[![Build Status](https://secure.travis-ci.org/seejohnrun/ice_cube.png)](http://travis-ci.org/seejohnrun/ice_cube)

``` bash
gem install ice_cube
```

ice_cube is a ruby library for easily handling repeated events (schedules).
The API is modeled after iCalendar repeated dates.  The power lies in the
ability to specify multiple rules and dates, and have ice_cube quickly figure
out whether the schedule falls on a certain date (.occurs_on?), or what dates
it occurs on (.occurrences, .first, .all_occurrences)

Imagine you want:

> Every friday the 13th that falls in October

You would write:

``` ruby
schedule.add_recurrence_rule Rule.yearly.day_of_month(13).day(:friday).
  month_of_year(:october)
```

---

## Quick Introductions

* Presentation from Lone Star Ruby Conf -
  http://seejohnrun.github.com/ice_cube/static/lsrc_ice_cube.pdf
* Quick Introduction -<commit_msg>Added to README<commit_after># ice_cube - easy date expansion

[![Build Status](https://secure.travis-ci.org/seejohnrun/ice_cube.png)](http://travis-ci.org/seejohnrun/ice_cube)

<a href="https://www.stripeme.com/pay/1lq0">
  <img alt="Pay" src="https://www.stripeme.com/pay.jpg" />
</a>

``` bash
gem install ice_cube
```

ice_cube is a ruby library for easily handling repeated events (schedules).
The API is modeled after iCalendar repeated dates.  The power lies in the
ability to specify multiple rules and dates, and have ice_cube quickly figure
out whether the schedule falls on a certain date (.occurs_on?), or what dates
it occurs on (.occurrences, .first, .all_occurrences)

Imagine you want:

> Every friday the 13th that falls in October

You would write:

``` ruby
schedule.add_recurrence_rule Rule.yearly.day_of_month(13).day(:friday).
  month_of_year(:october)
```

---

## Quick Introductions

* Presentation from Lone Star Ruby Conf -
  http://seejohnrun.github.com/ice_cube/static/lsrc_ice_cube.pdf
* Quick Introduction -
{'fraction_non_alphanumeric': 0.1104887983706721, 'fraction_numerical': 0.0050916496945010185, 'mean_word_length': 4.662824207492795, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 8, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '3561434', 'n_tokens_mistral': 682, 'n_tokens_neox': 639, 'n_words': 198}