Common Ruby class library documentation translation and Examples

Source: Internet
Author: User
Ruby is...

A dynamic, open source programming language with a focus on simplicity and productifunctionality. It has an elegant syntax that is natural to read and easy to write.

Translate and organize documents of common Ruby libraries, and write some examples for use.

The purpose is to familiarize yourself with Ruby class libraries and leave a reference manual.

Zero-basic syntax
1Control Structure
2Exception Handling 
Category 3
4. Method
Module 5

I. File System
1Internal Library: Io, file, Dir, filetest, fileutils

2. Document operations,
1Class Library translation (additional library: rexml/Document)
2 HTML parsing: hpricot Library

Three Text processing functions
1 string type
2 Regexp class

Four network programming:
1 socket
2 Net: HTTP encapsulates the application layer protocol HTTP
3OpenuriRe-encapsulate net: http. You can open an HTTP/ftp uri just like opening a local disk file.

Five database programming:
1Ruby DBI Introduction

6. Windows OS Interaction:
1Example of Windows 32 API callDL/Win32
2Win32ole call exampleWin32ole

LastSmall Experience Accumulation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.