Posted By: Ken Date
Date: 2007-03-20 22:55
Summary: SimpleCSV 0.1.3
Project: SimpleCSV

Version 0.1.3 has been released. Experimental feature. You can define callback method on subclass.

just example...

class PrintFirstLetterParser < SimpleCSV
def on_field(str, pr)
print "#{str[0, 1]} "
end
def on_row(str, pr)
end
end
PrintFirstLetterParser.new.parse(<<_CSV_)
first, second, third, fourth, fifth
_CSV_
#=> f s t f f

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: simplecsv-0.1.3

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post