Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Four cool libraries for Ruby

Make better use of Ruby with RDoc, WEBrick, dRuby, and REXML

Pat Eyler (pat.eyler@gmail.com), Independent Author, Consultant
Pat Eyler is a co-founder of the Seattle Ruby Brigade (Zenspider.com) and has been an active member of the Ruby community for nearly five years. He founded the Ruby Programming Shop and currently maintains the r43 library. He has written about free software, Linux, Ruby, and networking for several print- and Web-based publishers.

Summary:  This tutorial presents four members of Ruby's standard library: RDoc, WEBrick, dRuby, and REXML. Learning to use the standard library more effectively will help improve your Ruby code and let you concentrate on the important parts of your code.

Date:  03 Jan 2006
Level:  Intermediate PDF:  A4 and Letter (53 KB | 16 pages)Get Adobe® Reader®

Activity:  5968 views
Comments:  

Before you start

About this tutorial

The last several tutorials in this series ("Test-first Ruby programming," "Profiling and optimizing Ruby code," "Debugging Ruby programs 101," and "Automating tasks with Rake"), have discussed some important libraries from Ruby's standard library (and one, Rake, that appears headed for inclusion into the standard library). This tutorial will cover four important members of Ruby's standard library.


Objectives

This tutorial will get you up and running with these libraries: RDoc, WEBrick, dRuby, and REXML. You'll learn how, when, and why to use them.


System requirements

Because we're covering four libraries from the Ruby standard library, you won't need anything more than Ruby installed on your system. You'll be able to complete this tutorial on any Microsoft® Windows® or UNIX®-like system (including Mac OS X and Linux®) that has Ruby installed.

1 of 9 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source
ArticleID=133688
TutorialTitle=Four cool libraries for Ruby
publish-date=01032006
author1-email=pat.eyler@gmail.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.