Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
csv « Development « Ruby
Ruby
Development
csv
1.
Read CSV file
2.
Update a CSV file
3.
Parse one CSV file line
4.
Create data for CSV file
5.
Reading and Searching CSV Data
6.
use CSV alongside the File class
7.
loading the data from a CSV-formatted file into an array is with CSV.read:
8.
pick out the first person in the data called Laura:
9.
find the people in your database whose ages are between 20 and 40:
10.
Saving Data Back to the CSV File