In Ruby,`attr_accessor` is helper method that takes symbols to create a setter and a getter quickly for desired variable names, it's really helpful .
A post by Ali Al Khawaja
Tags: ruby