Standard Library Packages in Ruby

By: Emiley J. Viewed: 153251 times  Printer Friendly Format    


abbrev 
Calculates the set of unique abbreviations for a given set of strings. 
base64 
Methods for base64-encoding and -decoding strings. 
benchmark 
Contains routines for benchmarking code. 
bigdecimal 
Arbitrary-precision arithmetic. 
cgi 
CGI library, including methods for query parsing, HTML generation and session handling. 
complex 
Implements a complex number type, Complex. 
csv 
Read and write CSV (comma separated values) data. 
curses 
Interface to the "curses" character-based interface library. 
date 
Implements the Date class. 
dbm 
Read and write 'db' files. 
delegate 
Simplifies delegation to methods of other classes. 
digest 
MD5 and SHA1 digest implementations. 
dl 
"Interface to the Dynamic Loader, for creating extensions." 
drb 
Distributed Ruby. Talk to objects across a network. 
English 
"English-language long names for Ruby's special variables." 
enumerator 
Flexible enumeration capabilities. 
erb 
"Templating system whereby you embed Ruby code in text/HTML/..." 
etc 
Access to UNIX users and groups information. 
fcntl 
Provides constant definitions for IO#fcntl. 
fileutils 
Utility module for copying, moving, renaming files, etc. 
finalize 
find 
Recursively descend directories. 
forwardable 
Method-level delegation. 
ftools 
Similar to, but older than, fileutils. 
gdbm 
Read and write GNU 'db' files. 
generator 
Converts an internal iterator to an external iterator. 
getoptlong 
A common library for parsing command-line options. See optparse for a stronger Ruby solution. 
gserver 
Generic server. 
iconv 
importenv 
Imports environment variables as global variables. 
io/wait 
ipaddr 
Manipulate IP addresses. 
jcode 
Handle Japanese strings. 
logger 
Simple logging mechanism. 
mailread 
mathn 
Make all numeric classes work well together. 
matrix 
Defines the Matrix and Vector classes. 
mkmf 
Generate Makefiles for Ruby extensions. 
monitor 
Add monitor function to an arbitrary object. 
mutex_m 
net/ftp 
FTP library for accessing remote files. 
net/http 
HTTP library for accessing web pages. 
net/imap 
IMAP library for accessing email on a server. 
net/pop 
POP library for accessing email on a server. 
net/smtp 
SMTP library for sending email. 
net/telnet 
Telnet library for executing commands remotely. 
nkf 
observer 
Implements the observer pattern; objects can be notified of changes to other objects. 
open-uri 
Allows file-like access to URIs like "ftp://server/filename". 
open3 
Run external commands and have access to stdin, stdout, and stderr. 
openssl 
Secure socket layer, including HTTP, FTP, and Telnet implementations. 
optparse 
A more advanced command-line options parsing library than getoptlong. 
ostruct 
Open structs. You can add attributes dynamically. 
parsedate 
A module for extracting date information from a String. 
pathname 
Object-oriented pathname. 
ping 
Simple 'ping' implementation. 
pp 
Implements Kernel.pp so you can pretty-print any object. 
prettyprint 
Implements a pretty-printing algorithm. See 'pp'. 
profile 
Runtime profiler. 
profiler 
Runtime profiling library. 
pstore 
Simple object-oriented database using Marshal. 
pty 
Executes commands as if their standard I/O is connected to ttys. 
racc 
"LALR(1) parser generator for Ruby." 
racc/parser 
rational 
Implements a rational number type, Rational. 
rdoc 
"Ruby's API documentation generator." 
readbytes 
Implements IO#readbytes. 
readline 
Command-line editing and history. 
resolv 
Find IP address from hostname, or vice versa, and more. 
resolv-replace 
rexml 
Pure-Ruby XML parser and emitter. 
rinda 
A Ruby implementation of the Linda distibuted computing paradigm. 
rss 
RSS (Rich Site Syndicator) parser and emitter. 
runit 
Older unit testing framework. Taken over by test/unit. 
scanf 
"Analogous to C's scanf. Reads formatted data." 
sdbm 
Yet another 'db' file interface. 
set 
Implements the Set data type. 
singleton 
Implements the singleton design pattern, whereby a certain class has only one instance. 
soap 
Implements the SOAP protocol. 
socket 
Implements several socket classes for UDP, TCP, UNIX, SOCKS, as well as a TCPServer class. 
stringio 
Implements StringIO, which allows IO-like operations on a String-like object. 
strscan 
A fast string scanner. 
syck 
Fast YAML implementation. 
sync 
Phase lock with counter. 
syslog 
Wrapper for UNIX Syslog system calls. 
tcltklib 
tempfile 
Create and use a temporary file. 
test/unit 
"Ruby's standard unit testing framework." 
thread 
Support for threads, including Mutex, ConditionVariable, and Queue. 
thwait 
Thread synchronization class. 
time 
Extends built-in Time class to support various standard time formats. 
timeout 
Ensures some code completes within a certain time, or throws exception. 
tk 
tmpdir 
Retrieve temporary directory path. 
tracer 
Trace program execution. 
tsort 
Topological sorting for strongly connected components. 
un 
Utility module for file operations in command-line scripts. 
uri 
Universal Resource Identifier implementation. 
weakref 
Implements weak references. 
webrick 
A servlet container and self-contained web server. 
Win32API 
Interface to Windows registry. 
win32ole 
Interface to Win32 OLE automation. 
wsdl 
Web Services Description Language. 
xmlrpc 
XML RPC (remote procedure call) client and server implementations. 
xsd 
XML Schema Definition. 
yaml 
Data serialization format designed for ease of human use. 
zlib 
Interface to UNIX zlib (gzip streams).



Most Viewed Articles (in Ruby )

Latest Articles (in Ruby)

Comment on this tutorial