class method
self.included
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
self.included(klass)
No documentation comment.
Parameters
-
klassreq
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