Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sch1zo
· 9y ago · 0 comments
Am I misunderstanding this or what do you mean learn from ruby? In Ruby I can override private methods without a problem.
Comments
[–]
pmontra
9y ago
Ruby doesn't have private methods. You can always object.send(:method) and the only effect of the private keyword is to disable the object.method() syntactic sugar. No wonder that even methods marked as private can be redefined.