Hi,
I have a function called showURL, which prints out a URL when I do this:
puts master.showURL
Where master is an instance of the class URL, which I have previously
defined. showURL is a method defined in the URL class.
I am using Mechanize to get URLS, like this:
agent = Mechanize.new
and I want to try an submit the URL I have created, something like this:
agent.get(puts master.showURL)
This doesn’t seem to work.
Can anyone give me a hand?
Many thanks in advance.
Dwight