method

included

rails latest stable - Class: ActionController::Assertions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

included(klass)
public

No documentation available.

# File actionpack/lib/action_controller/assertions.rb, line 46
    def self.included(klass)
      %w(response selector tag dom routing model).each do |kind|
        require "action_controller/assertions/#{kind}_assertions"
        klass.module_eval { include const_get("#{kind.camelize}Assertions") }
      end
    end