Selenium: get href link by anchor text

Hi

I am using Selenium on rails plugin for automated testing in my project.

Currently I can check the links on a page by anchor text.

Now I want to check href link for that anchor text

like for Click Here

“Click here” text contain “prj/url” url…

So can anyone tell me how can I do this?

Thanks in advance
Brijesh S.