Ruby is a fully object-oriented interpreted scripting language. Its unique nature can help us easily and conveniently compile code. Next let's take a look at some usage of common Ruby libraries.
- Ruby regular expressions have many similarities with Perl
- Ruby clipboard access tips
- Quickly learn Ruby on Rails manual installation skills
- Special Ruby Variables
- Ruby naming rules
Basic Ruby library syntax
1. Control Structure
2. Exception Handling
Category 3
4. Method
Module 5
A Ruby Common Library File System
1 internal library: IO, File, Dir, FileTest, FileUtils
2. Operations on common Ruby Library Documents,
1 class library translation (additional library: REXML/Document)
2 HTML parsing: Hpricot Library
Three Ruby common library text processing functions
1 String type
2 Regexp class
Four Ruby common library network programming:
1 socket
2 Net: HTTP encapsulates the application layer protocol HTTP
3. OpenURI re-encapsulate Net: HTTP. You can open an http/ftp URI like opening a local disk file.
Five Ruby common library database programming:
1 Ruby DBI Introduction
6. Interaction between common Ruby libraries and Windows operating systems:
1 WIN 32API call example dl/win32
2 WIN32OLE call example win32ole