mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
This makes them more changeable and robust. Ruby will raise NoMethodError on typos while it'll silently create a new ivar without us noticing. Also, in my experience, a reader method gives more room to future refactorings and eases testing because methods are easier to stub.
709 B
709 B