From: JamesBritt Date: 2002-08-16T10:06:40+09:00 Subject: RE: How do I find the URL of the .rhtml that's being served? > -----Original Message----- > From: Francis Hwang [mailto:sera@fhwang.net] > Sent: Thursday, August 15, 2002 5:56 PM > To: ruby-talk ML > Subject: How do I find the URL of the .rhtml that's being served? > > > I have a utility class that's being used inside a bunch of different > ..rhtml files. Is there some sort of global variable that I can use to > figure out exactly what URL is being served? I'm thinking of something > like $PHP_SELF in PHP. > > Thanks, What does $0 give you? James > > Francis >