Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dwb
· 9y ago · 0 comments
You can declare visibility in Ruby:
https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Classe...
It can usually (always?) be gotten around though.
Comments
[–]
simplify
9y ago
Right. You can say something's "private", but there's always a way to access it. As far as I'm aware, this has never been an actual problem, and in fact has been
useful
since you can "patch" a library if you really need to.