How to make a code work without adding it directly into the Container?

I have a code that works when I modify the show_all_objects method in
Container.rb, such that it returns the String of properties with '|'
in between every word, instead of simply printing it out.

Now as it is not possible to change the Container.rb file everywhere,
I would like to know a way to include the method I get after the
modification into my existing code itself.

Is it something to do with Inheritance or.....????


Thanks and Regards.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to