all InfoSec news
100 Days of Learning Ruby: Day #4
Last time we learnt what is Object Oriented Programming and we started to learn how it is implemented in Ruby, today we will continue learning about OOP in Ruby.
- What is attr_accessor, attr_reader and attr_writer?
- Inheritance in Ruby
Create a new folder called Day_4, then create a new file with the name oop2.rb and finally open it up in a text editor of your choice.
mkdir Day_4 && cd Day_4/ …