Permalink
Browse files

Updated the documentation to include the separator option.

  • Loading branch information...
1 parent aee36b8 commit 1d7ddc91ee74685c9998455dedd6ffd53e6bbc7f Randy Schmidt committed May 17, 2008
Showing with 3 additions and 2 deletions.
  1. +3 −2 README
View
5 README
@@ -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:

0 comments on commit 1d7ddc9

Please sign in to comment.