Skip to content

Tag Archives: Ruby-Basics

Statements that are not executed by the compiler and interpreter are called Comments. During coding proper use of comments makes maintenance easier and finding bugs… Read More
Similarities between Ruby and C There are many similarities between C and Ruby, and some of them are: Like C, in Ruby also… A programmer… Read More
There are many similarities between C++ and Ruby, some of them are: Just like C++, in Ruby… As in C++, public, private, and protected works… Read More
Keywords or Reserved words are the words in a language that are used for some internal process or represent some predefined actions. These words are… Read More
Ruby provides a special statement which is referred as unless statement. This statement is executed when the given condition is false. It is opposite of… Read More
The case statement is a multiway branch statement just like a switch statement in other languages. It provides an easy way to forward execution to… Read More
Ruby Predefine Variables Ruby contains a wide range of predefined variables. Every predefined variable has its own specification. You can use predefine variables to perform… Read More
Prerequisite : Decision Making , Loops Ruby programming language provides some statements in addition to loops, conditionals, and iterators, which are used to change the… Read More
Prerequisite: Ruby Range Operator Ruby ranges depict a set of values with a beginning and an end. Values of a range can be numbers, characters,… Read More
An array is a collection of different or similar items, stored at contiguous memory locations. The idea is to store multiple items of the same… Read More
A block is the same thing as a method, but it does not belong to an object. Blocks are called closures in other programming languages.… Read More
Looping in programming languages is a feature which clears the way for the execution of a set of instructions or functions repeatedly when some of… Read More
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
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
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

Start Your Coding Journey Now!