README.rdoc in common_view_helpers-0.2.0 vs README.rdoc in common_view_helpers-0.3.0
- old
+ new
@@ -1,8 +1,8 @@
= Common View Helpers
-A set of view helpers Gemini uses in all of our Rails applications.
+A lightweight set of view helpers Gemini uses in all of our Rails applications.
== Installation
gem install common_view_helpers
@@ -37,10 +37,14 @@
# Javascript friendly (escaped) string
js_string(string)
# Generates a URL and automatically adds http:// if not already there
# Useful alongside link() when linking to user submitted addresses
- urlify(address)
+ urlify(address)
+
+ # Breaks up a BigNum, FixNum or Float with commas
+ # e.g., 532566 => 532,566 and 79593255.66 => 79,593,255.66
+ commify(num)
== Copyright & Licensing
Copyright (c) 2010 {Gemini SBS}[http://geminisbs.com], released under the MIT license
\ No newline at end of file