0.0
No commit activity in last 3 years
No release in over 3 years
Convert hash and array into HTML Element.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

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

  1. fork the project.
  2. create your feature branch. (git checkout -b my-feature)
  3. commit your changes. (git commit -am 'commit message.')
  4. push to the branch. (git push origin my-feature)
  5. send pull request.

License

MIT