Flowdock
method

klass

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionController::MiddlewareStack::Middleware

Method deprecated or moved

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

These similar methods exist in v4.0.2:

klass() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/middleware_stack.rb, line 29
      def klass
        if @klass.respond_to?(:call)
          @klass.call
        elsif @klass.is_a?(Class)
          @klass
        else
          @klass.to_s.constantize
        end
      rescue NameError
        @klass
      end
Register or log in to add new notes.