So what I want to do is determine if the current link is \'active\', i.e. if this link was just clicked by the user.
If it is, then I want to apply the class=s
class=s
I'm guessing that this is for something like a tabbed UI where you want the currently selected tab to look different?
Try link_to_unless_current, then style the list items containing links differently from tabs containing plain text.