class method self.controller_class

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.controller_class()

No documentation comment.

Source
# File actionpack/lib/action_controller/test_case.rb, line 170
      def controller_class
        if current_controller_class = read_inheritable_attribute(:controller_class)
          current_controller_class
        else
          self.controller_class = determine_default_controller_class(name)
        end
      end

Defined in actionpack/lib/action_controller/test_case.rb line 170 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::TestCase

Type at least 2 characters to search.

↑↓ navigate · open · esc close