But be careful not to put a comma on the last line of a stack of attr_accessor method names. Causes major problems for the code that follows.
I’ll keep that in mind if I ever write in Ruby. It keeps floating around my list of languages to try but it seems to solve mostly the same problems as Python so I haven’t found a good reason to play with it yet.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.