class method
self.included
Ruby on Rails 3.2.22.5
Since v2.3.18 Last seen in v3.2.22.5Signature
self.included(base)
No documentation comment.
Parameters
-
basereq
Source
# File actionpack/lib/action_controller/test_case.rb, line 552
def self.included(base)
unless base.method_defined?(:exception) && base.method_defined?(:exception=)
base.class_eval do
attr_accessor :exception
protected :exception, :exception=
end
end
end
Defined in actionpack/lib/action_controller/test_case.rb line 552
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase::RaiseActionExceptions