WordWrapping
#WordWrapping gem allows text to be wrapped around a desired and specified column length.
Installation
Add this line to your application's Gemfile:
gem 'word_wrapping'
And then execute:
$ bundle
Or install it yourself as:
$ gem install word_wrapping
Usage
The method required is called wrap and is a class method for word under this gem's module.
e.g new_word = WordWrapping::Word.wrap('word',column length)
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Renny4Real/ruby_gem_practice.