Permalink
Browse files

Update README.rdoc

  • Loading branch information...
1 parent 20c9922 commit 7cdebad0b7d2c3988ad5407c73360dc3fc216d3d @FRickReich committed Feb 16, 2012
Showing with 26 additions and 30 deletions.
  1. +26 −30 README.rdoc
View
56 README.rdoc
@@ -1,31 +1,27 @@
-= timeago
-
-to use this gem, just require and run it, like this:
-
-==== Example 1
-
-> require 'timeago'
->
-> time = Time.now - 60
->
-> Timeago.readable(time)
-
-and it should output
-> one minute ago
-
-==== Example 2
-
-> require 'timeago'
->
-> time = Time.now - 13250
->
-> Timeago.readable(time)
-
-this should output
-> 3 hours ago
-
-this can go up to 5 years ago, after that it will change to the exact date.
-
-
-
+= timeago
+
+to use this gem, just require and run it, like this:
+
+==== Example 1
+
+> require 'timeago'
+> time = Time.now - 60
+> Timeago.readable(time)
+
+and it should output
+> one minute ago
+
+==== Example 2
+
+> require 'timeago'
+> time = Time.now - 13250
+> Timeago.readable(time)
+
+this should output
+> 3 hours ago
+
+this can go up to 5 years ago, after that it will change to the exact date.
+
+
+
Copyright (c) 2012 Frederik Reich.

0 comments on commit 7cdebad

Please sign in to comment.