Project

toon

0.0
No commit activity in last 3 years
No release in over 3 years
This gem is helpful for ETL or other general data cleaning.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

toon

toon is a Ruby gem that makes it easy to cleanup and format data.

Example

The following code:

require 'toon'

rows = [
  %w[ Name DOB      ],
  %w[ tom  19710413 ],
  %w[ mIkE 19690918 ],
]

p toon! rows, <<~""
  Name  tune
  DOB   to_yyyymmdd_ymd

will produce:

[["Name", "DOB"       ],
 ["Tom" , "04/13/1971"],
 ["Mike", "09/18/1969"]]