Ruby is a dynamic scripting language designed for performing all sorts of versatile operations like database connectivity, file handling or performing other system related activities. Unlike other programming languages that claim to be pure object oriented programming language but are not, ruby is a pure object oriented programming language. Ruby was invented in 1993 and later released to be public in 1995 as an open source language by a Japanese programmer, Yukihiro Matsumoto. The language was designed as an alternative to Perl and python and provides features like simplicity, portability and extensibility.
Ruby is a very simple language designed to be understood by everyone. It is well structured and logical language, and as such, very easy to learn. Ruby is a pure object oriented programming language just like Small talk or ADA and does not include any awkward syntax that makes the code messy and difficult to understand. Being simple, Ruby is the most powerful and versatile language designed to achieve complex tasks with least amount of code and provides maximum accuracy and brevity.
The Interpreter Shell is one of the best features of Ruby where programmers can test the language, evaluating the efficiency and effectiveness of the tasks in real time. By testing the code in the real time, programmers can avoid debugging.
Other features include:
Exception handling mechanism
It supports regular expressions.
Fully integrated Iterators and closures.
Automatic garbage collection
Six levels of scope for variables: instance, block, local, class instance, global and class.
Fully featured debugger that includes setting of breakpoints on conditional expressions and assists in inspecting and monitoring variables in real time.