Call method in other files

Hello,

I`m using ruby to automation test (with selenium), but is common I use a
method to do login into multiple files. How can I put this method in
just
one file and call it in my other files?

CHeers

On 26 June 2015 at 01:45, Rafael s [email protected] wrote:

Hello,

I`m using ruby to automation test (with selenium), but is common I use a
method to do login into multiple files. How can I put this method in just
one file and call it in my other files?

Not sure what this has to do with Rails, but likely the answer is to
use require.

Colin