AbstractController::Helpers::ClassMethods

module AbstractController::Helpers::ClassMethods

Public Instance Methods

clear_helpers() Show source

Clears up all existing helpers in this class, only keeping the helper with the same name as this class.

# File actionpack/lib/abstract_controller/helpers.rb, line 117
def clear_helpers
  inherited_helper_methods = _helper_methods
  self._helpers = Module.new
  self._helper_methods = Array.new

  inherited_helper_me