Skip to content

jeffreyiacono/csv_monster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSVMonster

require './lib/csv_monster'

first  = CSVMonster.new('first.csv')
second = CSVMonster.new('second.csv')
parts  = CSVMonster.new(['first.csv', 'second.csv'])
whole  = CSVMonster.new('first_and_second_already_combined.csv')

# using the + operator
puts (whole == (first + second)) ? "matchy!" : "no matchy!"

# using the initializer
puts "whole contains #{whole.content_length} records"
puts "parts contain #{parts.content_length} records"
puts whole == parts ? "matchy!" : "no matchy!"

About

some scary csv utilities

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages