1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/doc/standard_library.rdoc

119 lines
5.9 KiB
Text
Raw Normal View History

= Ruby Standard Library
The Ruby Standard Library is a vast collection of classes and modules that you
can require in your code for additional features.
Below is an overview of libraries and extensions followed by a brief
description.
== Libraries
MakeMakefile:: Module used to generate a Makefile for C extensions
RbConfig:: Information of your configure and build of Ruby
Gem:: Package management framework for Ruby
== Extensions
Coverage:: Provides coverage measurement for Ruby
2020-02-11 00:14:58 -05:00
Monitor:: Provides an object or module to use safely by more than one thread
objspace:: Extends ObjectSpace module to add methods for internal statistics
PTY:: Creates and manages pseudo terminals
Ripper:: Provides an interface for parsing Ruby programs into S-expressions
Socket:: Access underlying OS socket implementations
= Default gems
== Libraries
2020-09-10 00:54:28 -04:00
Abbrev:: Calculates a set of unique abbreviations for a given set of strings
2020-09-10 05:56:13 -04:00
Base64:: Support for encoding and decoding binary data using a Base64 representation
2019-11-06 23:53:05 -05:00
Benchmark:: Provides methods to measure and report the time used to execute code
Bundler:: Manage your Ruby application's gem dependencies
2019-11-07 02:34:03 -05:00
CGI:: Support for the Common Gateway Interface protocol
CSV:: Provides an interface to read and write CSV files and data
2019-11-06 23:21:46 -05:00
Delegator:: Provides three abilities to delegate method calls to an object
DidYouMean:: "Did you mean?" experience in Ruby
2020-10-13 08:06:13 -04:00
DRb:: Distributed object system for Ruby
English:: Provides references to special global variables with less cryptic names
2020-08-21 07:18:44 -04:00
ERB:: An easy to use but powerful templating system for Ruby
ErrorHighlight:: Highlight error location in your code
FileUtils:: Several file utility methods for copying, moving, removing, etc
2020-08-20 08:00:48 -04:00
Find:: This module supports top-down traversal of a set of file paths
Forwardable:: Provides delegation of specified methods to a designated object
2019-11-06 18:48:45 -05:00
GetoptLong:: Parse command line options similar to the GNU C getopt_long()
IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
2020-07-22 05:38:51 -04:00
OptionParser:: Ruby-oriented class for command-line option analysis
Logger:: Provides a simple logging utility for outputting messages
Mutex_m:: Mixin to extend objects to be handled like a Mutex
Net::HTTP:: HTTP client api for Ruby
Observable:: Provides a mechanism for publish/subscribe pattern in Ruby
2019-11-06 08:17:03 -05:00
Open3:: Provides access to stdin, stdout and stderr when running other programs
OpenStruct:: Class to build custom data structures, similar to a Hash
2020-09-11 07:38:18 -04:00
OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP
2020-10-06 07:45:06 -04:00
PP:: Provides a PrettyPrinter for Ruby objects
2020-10-06 08:05:03 -04:00
PrettyPrinter:: Implements a pretty printing algorithm for readable structure
2019-11-06 21:17:12 -05:00
PStore:: Implements a file based persistence mechanism based on a Hash
Readline:: Wrapper for Readline extencion and Reline
Reline:: GNU Readline and Editline by pure Ruby implementation.
2020-09-11 08:50:07 -04:00
Resolv:: Thread-aware DNS resolver library in Ruby
2020-09-11 09:01:08 -04:00
resolv-replace.rb:: Replace Socket DNS with Resolv
RDoc:: Produces HTML and command-line documentation for Ruby
2020-08-21 05:10:03 -04:00
Rinda:: The Linda distributed computing paradigm in Ruby
2020-09-11 08:15:25 -04:00
SecureRandom:: Interface for secure random number generator
2020-08-19 23:39:11 -04:00
Set:: Provides a class to deal with collections of unordered, unique values
2020-09-10 02:42:23 -04:00
Shellwords:: Manipulates strings with word parsing rules of UNIX Bourne shell
2019-11-05 21:29:51 -05:00
Singleton:: Implementation of the Singleton pattern for Ruby
2020-02-12 05:47:31 -05:00
Tempfile:: A utility class for managing temporary files
2020-09-11 19:29:06 -04:00
Time:: Extends the Time class with methods for parsing and conversion
2019-11-08 05:21:47 -05:00
Timeout:: Auto-terminate potentially long-running operations in Ruby
2020-02-12 06:34:08 -05:00
tmpdir.rb:: Extends the Dir class to manage the OS temporary file path
2020-09-09 08:53:09 -04:00
TSort:: Topological sorting using Tarjan's algorithm
un.rb:: Utilities to replace common UNIX commands
URI:: A Ruby module providing support for Uniform Resource Identifiers
2019-11-08 06:18:08 -05:00
YAML:: Ruby client library for the Psych YAML implementation
2020-02-11 00:10:49 -05:00
WeakRef:: Allows a referenced object to be garbage-collected
== Extensions
BigDecimal:: Provides arbitrary-precision floating point decimal arithmetic
Date:: A subclass of Object includes Comparable module for handling dates
DateTime:: Subclass of Date to handling dates, hours, minutes, seconds, offsets
Digest:: Provides a framework for message digest libraries
Etc:: Provides access to information typically stored in UNIX /etc directory
Fcntl:: Loads constants defined in the OS fcntl.h C header file
Fiddle:: A libffi wrapper for Ruby
IO:: Extensions for Ruby IO class, including #wait, #nonblock and ::console
JSON:: Implements Javascript Object Notation for Ruby
2020-08-25 08:17:19 -04:00
NKF:: Ruby extension for Network Kanji Filter
OpenSSL:: Provides SSL, TLS and general purpose cryptography for Ruby
Pathname:: Representation of the name of a file or directory on the filesystem
Psych:: A YAML parser and emitter for Ruby
Racc:: A LALR(1) parser generator written in Ruby.
Readline:: Provides an interface for GNU Readline and Edit Line (libedit)
StringIO:: Pseudo I/O on String objects
StringScanner:: Provides lexical scanning operations on a String
2020-09-10 07:42:53 -04:00
Syslog:: Ruby interface for the POSIX system logging facility
WIN32OLE:: Provides an interface for OLE Automation in Ruby
Zlib:: Ruby interface for the zlib compression/decompression library
= Bundled gems
== Libraries
MiniTest:: A test suite with TDD, BDD, mocking and benchmarking
PowerAssert:: Power Assert for Ruby.
Rake:: Ruby build program with capabilities similar to make
Test::Unit:: A compatibility layer for MiniTest
REXML:: An XML toolkit for Ruby
RSS:: Family of libraries that support various formats of XML "feeds"
2021-05-26 02:44:27 -04:00
Net::FTP:: Support for the File Transfer Protocol
2021-05-26 02:48:36 -04:00
Net::IMAP:: Ruby client api for Internet Message Access Protocol
2021-05-26 02:52:29 -04:00
Net::POP3:: Ruby client library for POP3
2021-05-26 02:58:26 -04:00
Net::SMTP:: Simple Mail Transfer Protocol client library for Ruby
2021-05-26 02:36:16 -04:00
Matrix:: Represents a mathematical matrix.
2021-05-26 02:33:42 -04:00
Prime:: Prime numbers and factorization library
2020-10-20 08:33:02 -04:00
RBS:: RBS is a language to describe the structure of Ruby programs
TypeProf:: A type analysis tool for Ruby code based on abstract interpretation
DEBUGGER__:: Debugging functionality for Ruby