visibilidade de métodos em Ruby

Em Ruby, protected e private têm um significado um pouco diferente do tradicionalmente implementado em outras linguagens (ditas) orientadas a objeto.

Jamis Buck escreveu um post bastante informativo sobre o assunto.

Tags:
Ruby1Add my vote for this tag Software Livre1Add my vote for this tag create new tag

Warning: Can't find topic "".""