data-converter
DataConverter convert Array and Hash into HTML.
Installation
add this line to your Gemfile.
gem 'data-converter'
or
$ gem install data-converter
Usage
require 'data-converter'
DataConverter.parse([0,1,2,3]) #=> "<ul><li>0</li><li>1</li><li>2</li><li>3</li></ul>"
DataConverter.parse(:foo => "bar") #=> "<dl><dt>foo</dt><dd>bar</dd></dl>"
Contributing to Botch
- fork the project.
- create your feature branch. (
git checkout -b my-feature
) - commit your changes. (
git commit -am 'commit message.'
) - push to the branch. (
git push origin my-feature
) - send pull request.
License
MIT