RubyGems.org

word_wrapper

0.5.0

Word wrapping implementation in ruby. Includes a naive greedy algorithm (fast) and Knuth's minimum raggedness algorithm from TeX (slower for long texts).

installgem install word_wrapper
Authors

Stephen Pike

950 total downloads 950 for this version
Owners

A21eac793fc7661e0403a844f4b19685

Licenses

bsd

Gemfile
gem 'word_wrapper', '~> 0.5.0'
Versions
  1. 0.5.0 December 30, 2012 (12.5 KB)
Development Dependencies
  1. minitest >= 0