Rails 3 routing path segments

I have been trying to port the translate_routes plugin for use with Rails 3.

The current version uses the old StaticSegments, but it looks like this has now been simplified to simple strings.

How would I get the static parts of a registered route in Rails 3? Would I have to parse the string myself or are there still notions of different "segments" in a route?

I could only find a sement_keys method so far.

Thanks!