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 .
Ali Al Khawaja

Ali Al Khawaja @ali-alkhawaja

About: I post random Tech Tips & Tricks that I think are useful to everyone .

Location:
Palestine
Joined:
Aug 17, 2024

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 .

Publish Date: Jan 29
0 0

Comments 0 total

    Add comment