Call method in other files

15 views
Skip to first unread message

Rafael s

unread,
Jun 25, 2015, 8:45:17 PM6/25/15
to rubyonra...@googlegroups.com
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

Colin Law

unread,
Jun 26, 2015, 3:36:59 AM6/26/15
to rubyonra...@googlegroups.com
Not sure what this has to do with Rails, but likely the answer is to
use require.

Colin
Reply all
Reply to author
Forward
0 new messages