Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Jul 4, 2022

Classes and Modules in Ruby

Ruby is an object-oriented language that contains an object who is associated with some class. As we all know, every object is an instance of a class. To learn more about classes, let's explore the blog series.
Method Visibility in Ruby MEDIUM
This blog helps you clear your understanding of various Method Visibility in Ruby like Public, Protected, and Private.
Overloading methods in Ruby EASY
In this article, we will learn Overloading methods in Ruby and in the end, we will see some frequently asked questions related to this article.
Validating and Modifying Attribute Values in Ruby EASY
In this article, we will learn about validating and modifying attribute values in Ruby.
Subclassing and Inheritance in Ruby EASY
In this article, we will learn about Subclassing and inheritance in Ruby.
Object creation and initialization in ruby MEDIUM
In this blog we will discuss the object creation and initialization of ruby.
Loading and Requiring Modules in ruby
This article incorporates loading and requiring Modules in ruby.
Singleton Methods and the Eigenclass in ruby EASY
This article incorporates the information about the singleton methods and eigenclass in ruby and how we can implement them.
Method lookup and constant lookup in ruby EASY
This article incorporates the knowledge of method lookup and constant lookup techniques in ruby.

A Simple Class

Here, we will learn about how to create a class, define it, instantiate it, add attributes to it and define some operators over it. Just like in Java or C++, class is a very hot topic, so why miss that here.
Defining A Simple Class In Ruby EASY
This blog will cover the topic of defining a simple class in Ruby. Furthermore, we will learn how to create the class, instantiate, initialize a Point, and define a to_s Method.
Accessors and Attributes of Class in Ruby
In this article, we will learn about Accessors and Attributes of Class in Ruby.
Type Checking and Duck Typing in Ruby EASY
In this article, we will discuss Type checking and Duck typing in Ruby, and at the end, we will see some frequently asked questions related to the topic.
Array and Hash Access with [ ] and Enumerating Coordinates in Ruby EASY
We will discuss, How Array and Hash Access with [ ] and Enumerating Coordinates in Ruby. Ruby arrays are collections of any object that are sorted and integer-indexed. An index identifies and refers to each element in an array.
Author Shiva
0 upvotes
Point Equality in Ruby
We will discuss, What point equality in Ruby is. In Ruby, if two separate Point instances have identical X and Y coordinates, they will never equal each other.
Author Shiva
0 upvotes
Ordering Points in Ruby EASY
We will discuss, What ordering points in ruby are. Ordering Points in ruby means to order the points object in ruby in a certain way.
Author Shiva
0 upvotes
Quick and Easy Mutable Classes in ruby EASY
This article incorporates a detailed discussion on Quick and Easy Mutable Classes in Ruby.
Let’s get dive deep into the classes of ruby EASY
In this blog we will discuss the classes of ruby where we will see Classes and Modules, Class Method, Constants, Class Variables and Class Instance Variables.
Managing Class data in ruby EASY
This article incorporates management of Class data in ruby.
Checking Class or Module Membership in ruby
This article incorporates the information how we check the class or module membership in ruby with different techniques.
Writing an Inherited Class in Ruby EASY
This article will discuss how to write an inherited class in ruby, along with some frequently asked questions.