Listless

This gem convert Ruby Arrays to HTML lists.

Installation

Add this line to your application's Gemfile:

gem 'listless'

And then execute:

$ bundle

Or install it yourself as:

$ gem install listless

Usage

require 'listless'
Listless.ul(%w[I am a software engineer.])
=> "<ul><li>I</li><li>am</li><li>a</li><li>software</li><li>engineer.</li></ul>"

License

The gem is available as open source under the terms of the MIT License.