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

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.