1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Noel Rappin

@pointlessone @alessandrofazzi @geeksam I mean, both protected and instance_eval are just Ruby methods, and only one of them has official docs that both say “usually use something else" and “this is slow”.

Honestly, if I got in a situation where protected seemed like the answer, I would explore the possibility that I’d made a design error somewhere.

2
6mo
Replies