static public Method

Assertions.included(klass)

There's no documentation for this item.

Source Code

# File 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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.