Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Introduction to Ruby


May 12, 2021 Ruby


Table of contents


Introduction to Ruby

Ruby is a pure object-oriented programming language. It was founded in 1993 つ とゆきひろ Hiroshi Matsumoto, Japan.

You www.ruby-lang.org the name of Hiro Matsumoto つ/Yukihiro Matsumoto とゆきひろ ruby mailing list in the latest page. In the Ruby community, Matsumoto is also known as Matz.

Ruby is "the programmer's best friend."

Ruby's features are similar to Smalltalk, Perl, and Python. P erl, Python, and Smalltalk are scripting languages. S malltalk is a true object-oriented language. R uby, like Smalltalk, is a perfect object-oriented language. Using Ruby's syntax is much easier than using Smalltalk's syntax.

Ruby's features

  • Ruby is open source and is available free of charge on the web, but requires a license.
  • Ruby is a common, interpreted programming language.
  • Ruby is a true object-oriented programming language.
  • Ruby is a server-side scripting language similar to Python and Perl.
  • Ruby can be used to write Common Gateway Interface (CGI) scripts.
  • Ruby can be embedded in hyper-text tag language (HTML).
  • Ruby syntax is simple, which allows new developers to learn Ruby quickly and easily.
  • Ruby has similar syntax to many programming languages, such as C++ and Perl.
  • Ruby is scalable and large programs written with Ruby are easy to maintain.
  • Ruby can be used to develop Internet and intranet applications.
  • Ruby can be installed in Windows and POSIX environments.
  • Ruby supports many GUI tools such as Tcl/Tk, GTK, and OpenGL.
  • Ruby can easily connect to DB2, MySQL, Oracle, and Sybase.
  • Ruby has a wealth of built-in functions that can be used directly in Ruby scripts.

The tools you need

In order to perform the instances discussed in this tutorial, you need a computer with at least 2GB of RAM (recommended for 4GB) of Intel Core i3 or i5. You also need the following software:

  • Linux or Windows 95/98/2000/NT or Windows 7 operating systems
  • Apache 1.3.19-5 Web Server
  • Internet Explorer 5.0 or more web browsers
  • Ruby 1.8.5

This tutorial shows you how to use Ruby to create GUI, network, and web applications. It also discusses how to extend and embed Ruby applications.

What will you learn next?

The next chapter will show you where to get Ruby and its documentation. Finally, it instructs you on how to install Ruby and configures the environment to prepare you for the development of Ruby applications.