README.rdoc in aeonscope-number_to_fraction-1.0.0 vs README.rdoc in aeonscope-number_to_fraction-1.0.1
- old
+ new
@@ -1,8 +1,8 @@
= Overview
-A helper that can format a number into a fraction. Unfortunately, this only handles the "pretty printing" of factions less than 1/10th at the moment (as a better algorithm needs to be used for more complex number cases).
+A helper that can format a number into a fraction. Unfortunately, this only handles the "pretty printing" of fractions less than 1/10th at the moment (as a better algorithm needs to be used for more complex number cases).
= License
Copyright (c) 2009 Brooke Kuhlmann of {Berserk Technologies}[http://www.berserktech.com].
See the included LICENSE for more info.
@@ -17,21 +17,21 @@
= Installation
Type the following from the command line to install:
-* *UNIX*: sudo gem install aeonscope-number_to_function
-* *Windows*: gem install aeonscope-number_to_function
+* *UNIX*: sudo gem install aeonscope-number_to_fraction
+* *Windows*: gem install aeonscope-number_to_fraction
Update your environment.rb file to include the new gem:
-* config.gem "aeonscope-number_to_function", :lib => "number_to_function", :source => "http://gems.github.com"
+* config.gem "aeonscope-number_to_fraction", :lib => "number_to_fraction", :source => "http://gems.github.com"
= Usage
Example:
- number_to_function 3.75
+ number_to_fraction 3.75
Result:
3 3/4