An operator is a symbol that represents an operation to be performed with one or more operand. Operators are the foundation of any programming language.… Read More
Category Archives: Ruby
In Ruby, string is a sequence of one or more characters. It may consist of numbers, letters, or symbols. Here strings are the objects, and… Read More
The word iterate means doing one thing multiple times and that is what iterators do. Sometimes iterators are termed as the custom loops. “Iterators” is… Read More
Method is a collection of statements that perform some specific task and return the result. Methods are time savers and help the user to reuse… Read More
Ruby is an ideal object-oriented programming language. The features of an object-oriented programming language include data encapsulation, polymorphism, inheritance, data abstraction, operator overloading etc. In… Read More
Decision Making in programming is similar to decision making in real life. In programming too, a certain block of code needs to be executed when… Read More
Data types in Ruby represents different types of data like text, string, numbers, etc. All data types are based on classes because it is a… Read More
There are different types of variables in Ruby: Local variables Instance variables Class variables Global variables Each variable in Ruby is declared by using a… Read More
Ruby is a pure Object-Oriented language developed by Yukihiro Matsumoto (also known as Matz in the Ruby community) in the mid 1990’s in Japan. Everything… Read More
Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro “Matz” Matsumoto in Japan. This article… Read More