||Ruby/Tk Primer: Creating a cron GUI Interface with Ruby/Tk|
|Subject:||Answer to the self.puts dilema|
Response to: Answer to the self.puts dilema
There really isn't any reason for the self.hello call other than to prove the point that a private method (hello, in this case) cannot be prefaced with a reference of any kind, even a reference to the object in which the private method resides. So, yes, you could try out the code without the self.hello call, but that would defeat the purpose of the example.