Get method names?

Hi

Can you use Module#instance_methods ?
For example admin_controller.instance_methods

burlight

Hi serz,

Module#instance_methods, return all methods in a controller,
but i only need my methods in a controller not system methods.
Is it possible to get only def`s in a controller in some way?

What i was thinking is to open file then scan thru and pickup all
methods.

See ActionController::Base.action_methods and
ActionController::Base#action_methods

  -- Jean-François.