Accessing a controller variable?

I'm looking to find a way to access the data inside "@controller".
i.e. when you have @controller.inspect you will see a list of all data
in them.

Are there anyway to do this?

My real aim is to get the name of the action automatically.

Hi --

Thanks David. it works