Skip to content
Browse files

added documents.

  • Loading branch information...
1 parent 87672b0 commit 4a075f614efec2e8954bf07b3c8c3a9028bfafa4 @meltedice committed Feb 12, 2012
Showing with 37 additions and 0 deletions.
  1. +3 −0 CHANGELOG.md
  2. +34 −0 README.rdoc
View
3 CHANGELOG.md
@@ -0,0 +1,3 @@
+## DateAge 0.0.1 (February 12, 2012) ##
+
+* Added age calculation methods `age_at` and `age`
View
34 README.rdoc
@@ -0,0 +1,34 @@
+= \DateAge - Age Calculation with Date class
+
+home :: https://github.com/meltedice/date_age
+
+== Description
+
+Calculate age
+
+== Download and installation
+
+The latest version of DateAge can be installed with RubyGems:
+
+ % [sudo] gem install date_age
+
+== Synopsis
+
+To calculate age:
+
+ gem 'date_age'
+ require 'date_age'
+
+ birthday = Date.parse("1989/02/11")
+ puts birthday.age_at("2012/02/12") # => 23
+ puts birthday.age # => same as birthday.age_at(Date.today)
+
+== License
+
+DateAge is released under the MIT license.
+
+== Warranty
+
+This software is provided "as is" and without any express or implied
+warranties, including, without limitation, the implied warranties of
+merchantibility and fitness for a particular purpose.

0 comments on commit 4a075f6

Please sign in to comment.
Something went wrong with that request. Please try again.