Sha256: 6cadb4a919118ab7589a0fcbb602c2a975c3a1898b935ff36afd68d740d2f9cf
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
= 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). = License Copyright (c) 2009 Brooke Kuhlmann of {Berserk Technologies}[http://www.berserktech.com]. See the included LICENSE for more info. = History See the CHANGELOG file for more info. = Requirements 1. {Ruby on Rails}[http://rubyonrails.org]. = 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 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" = Usage Example: number_to_function 3.75 Result: 3 3/4 View the Rspec test suite for more usage and examples. = Contact/Feedback/Issues * {Berserk Technologies}[http://www.berserktech.com] - Company web site. * Aeonscope[http://www.aeonscope.net] - Personal web site. * Twitter[http://www.twitter.com/Aeonscope] - Short bursts of insight and/or noise.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aeonscope-number_to_fraction-1.0.0 | README.rdoc |