Ruby Tutorials: Instance Variables

Опубликовано: 01 Май 2026
на канале: GangesLearning
2,524
23

In this video we will have a look at concept of instance variables in ruby. Every ruby object has some behaviour(the methods that can be called upon them) and some data(data stored in its instance variables). We will also have a look at an example where we will populate instance variables at the time object is created and then inspect all the instance_variables for that object using inspect method