Combining Perl-inspired syntax with features like those of Smalltalk, Ruby is a dynamic, reflective, general purpose object-oriented scripting language.
Including object oriented, functional, reflective, and imperative, multiple programming paradigms are supported by the script. Moreover, it has an automatic memory management and dynamic type system, which makes it analogous to CLU, Perl, Python, Dylan, and Lisp in varying respects.
Features of Ruby:
Following are the features of the script:
* Object-oriented
* DLL/Shared library dynamic loading on most platforms
* Six levels of variable scope:
o global,
o class,
o class instance,
o instance,
o local, and
o block
* Exception management
* Methods can be called without parentheses, making Ruby trendy for putting into operation Domain Specific Languages
* Automatic garbage assembling
* Iterators and conclusions
* Indigenous, Perl-like standard terminology at the language level
* Operative overfilling
* Greatly portable
* Two-way multi-threading on all platforms by means of green threads
* Introspection, reflection and meta-programming
* Big standard library
* Sustains reliance injection
* Sustains object runtime modification
* Continuance and initiators