Category Archives: Ruby

Closures in Ruby

In Ruby, closure is a function or a block of code with variables that are bound to the environment that the closure is called. Or… Read More »

Namespaces in Ruby

A namespace is a container for multiple items which includes classes, constants, other modules, and more. It is ensured in a namespace that all the… Read More »

True, False, and Nil In Ruby

Ruby is an open-sourced object-oriented programming language developed by Yukihiro Matsumoto. In Ruby, everything is treated as an object. true, false and nil are built-in… Read More »

Numbers in Ruby

Ruby supports two types of numbers: Integers: An integer is simply a sequence of digits, e.g., 12, 100. Or in other words, numbers without decimal… Read More »

Ruby Tutorial

Ruby is a object-oriented, reflective, general-purpose, dynamic programming language. Ruby was developed to make it act as a sensible buffer between human programmers and the… Read More »