Posts Tagged ‘public’
…or: There is a difference between methodname(args) and self.methodname(args)!
The way how ruby deals with private, protected and public messages was a bit unclear to me. So I decided to dig a bit into it and to find out how it is really working. Finally I have irb installed: so lets go and explore.
This pastie shows [...]
Filed under: Uncategorized | Leave a Comment
Tags: private, protected, public, ruby