Object
Taken from codesnippets.joyent.com/posts/show/330
# File lib/gruff/base.rb, line 1166 def commify(delimiter=',') self.gsub(/(\d)(?=(\d\d\d)+(?!\d))/, "\\1#{delimiter}") end
[Validate]
Generated with the Darkfish Rdoc Generator 2.