Question - Explain class libraries in Ruby.
Answer -
Ruby class libraries contain a variety of domains like thread programming, data types, and various domains. It has additional libraries evolving day by day. The following are the domains which has relevant class libraries.
- Text processing: File, String, Regexp for quick and clean text processing.
- CGI Programming: There are supporting class library for CGI programming support like, data base interface, eRuby, mod_ruby for Apache, text processing classes.
- Network programming: Various well-designed sockets are available in ruby for network programming.
- GUI programming: Ruby/Tk and Ruby/Gtk are the classes for GUI programming
- XML programming: UTF-8 text processing regular expression engine make XML programming very handy in ruby.