About
The last time I got so passionate on a language was about 10 years ago with C++. Java, PERL, and other languages came along. Although those languages have their respective merits; it wasn't enough to get me excited. I started learning Ruby about a month ago. I was hooked. Ruby is a real gem! (April 6, 2007)
Updates
17 Jun 2007 - Added win_dir_tk
9 Jun 2007 - Added string
24 May 2007 - Added line_graph
2 May 2007 - Added regex, serialization and deserialization
16 April 2007 - Added class, singleton, lambda, range, and array
13 April 2007 - Added datetime, smtp, tcpclient, and tcpserver
7 April 2007 - Added mysimplesql and exception
6 April 2007 - Added p4. Revised the documentation of the first few samples. Edited the about and links section.
3 April 2007 - First few samples!
30 March 2007 - Initial version
Samples
Core
hello - the most endearing program
argv - prints out the argument vector
exception - raising exceptions
datetime - date/time sample
array - sample array manipulations
range - sample range manipulations
lambda - lambda function
class - classes, inheritance, and attributes
singleton - singleton methods
regex - regex using ruby
serializer/deserializer/employee - serialization and deserialization of a sample employee class
string - various string methods
API
ftp - sample ftp session
p4 - sample perforce session
mysql - sample mysql session
smtp - sending mail in ruby
tcpclient/tcpserver - simple tcp client/server
line_graph - line graph using gruff
win_dir_tk - displays a windows directory command using Tk
Links
Home Page - The official ruby website
RDoc - The Ruby documentation page
Cheat Sheet - A small but comprehensive ruby sheet
Quick Reference - An online reference
Learning - Online ruby tutorial
Programming - Another online tutorial