Skip to content

Commit

Permalink
Updated the documentation to include the separator option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy Schmidt committed May 17, 2008
1 parent aee36b8 commit 1d7ddc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README
Expand Up @@ -15,8 +15,9 @@ year that you started.

Example: With the assumption that the current year was 2008

<%= year_range(2005) -%> # => 2005-2008
<%= year_range(2008) -%> # => 2008 (just returns current year)
<%= year_range(2005) -%> # => 2005-2008
<%= year_range(2005, '&mdash;') -%> # => 2005&mdash;2008
<%= year_range(2008) -%> # => 2008 (just returns current year)

You can access the code here:

Expand Down

0 comments on commit 1d7ddc9

Please sign in to comment.