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=(new_class)

No documentation comment.

Parameters

new_class req
Source
# File actionpack/lib/action_controller/test_case.rb, line 165
      def controller_class=(new_class)
        prepare_controller_class(new_class) if new_class
        write_inheritable_attribute(:controller_class, new_class)
      end

Defined in actionpack/lib/action_controller/test_case.rb line 165 · 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