class method self.included

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

self.included(klass)

No documentation comment.

Parameters

klass req
Source
# 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

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

Defined in ActionController::Assertions

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close