Skip to content

Commit

Permalink
Add installation notes to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens committed Oct 31, 2009
1 parent dfbddc4 commit 4800b49
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README
Expand Up @@ -9,6 +9,18 @@ It was heavily inspired by "Jeremy Voorhis'/Geoffrey Grosenbach's calendar_helpe
* Where the calendar_helper had one helper method that internally called multiple other private methods, LaterDude keeps the namespace clean by tucking away all of its functionality in a presenter (of sorts).
* Most CSS class names are given implictly, e.g. "day", "weekendDay" (both are given to the displayed month as well as to the previous and following month), "otherMonth" (all days that don't belong to the displayed month) and "today". The only CSS class that can be configured is the table's class (which defaults to "calendar"). Further customization can be taken care of by passing a block (see examples).

Installation
============

You can use LaterDude either as a gem (preferred) or as a Rails plugin.

To use the gem version, put the following gem requirement in your environment.rb:

config.gem "later_dude", :source => 'http://gemcutter.org'

To install it as a plugin, fire up your terminal, go to your Rails app and type:

$ ruby script/plugin install git://github.com/clemens/later_dude.git

Examples
========
Expand Down

0 comments on commit 4800b49

Please sign in to comment.