gem install data-converter
Hash and Array convert to HTML Element (Array => ul, Hash => dl). It's under the development.
require 'rubygems' require 'data-converter' puts DataConverter.parse({ :a => "b", :c => { :d => ["<>&\"'", 1, 2] } })
the MIT License
namusyaka