Thanks a ton, Joedio. :)

On Sat, May 21, 2011 at 6:15 PM, joedio <[email protected]> wrote:

> Amit,
>
> These are indeed a Ruby questions NOT a Watir questions.
> I appreciate your candor in noting that with your question.
>
> The answers to your questions are:
> 1. Where to save this class so that I will be able to include it in my
> scripts?
> A: You can save it anywhere you like in the file system
>
> 2. Can I include this class using 'require' ?
> A: Yes
>
> I STRONGLY recomend that you now refer to
> the "require" and "include" methods in Ruby RDoc
>   http://ruby-doc.org/core/
>
> It will explain the use of those (and many many more)
> methods available with Ruby.
>
> Also if you have Ruby 1.8.7 installed take the time to read the
> documents which are under the \doc directory under your Ruby install
> path.
> Reading them will save you a lifetime of grief and confusion.
>
> You can also find this on-line at:
>     http://www.ruby-doc.org/docs/ProgrammingRuby/
>
>
> Joe
>
> On May 21, 4:24 am, Amit Bobade <[email protected]> wrote:
> > *Dear All:*
> >
> > This is more like a Ruby Question. Could anybody help me?
> >
> > I have written a class and now I require it for some scripts. So instead
> of
> > copying this class in every script  I have to include this class in my
> > scripts.
> > Therefore, please tell me
> >
> > 1. Where to save this class so that I will be able to include it in my
> > scripts?
> > 2. Can I include this class using 'require' ?
> >
> > --
> > Thanks and Regards,
> > Amit
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>



-- 
Thanks and Regards,
Amit

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to