fork of http://rubygems.org/gems/text-format