DataConverter convert Array and Hash into HTML.
add this line to your Gemfile.
gem 'data-converter'
or
$ gem install data-converter
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>"
- 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.
MIT