method

draw

rails latest stable - Class: ActionDispatch::Routing::RouteSet

Method deprecated or moved

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

draw(&block)
public

No documentation available.

# File actionpack/lib/action_dispatch/routing/route_set.rb, line 313
      def draw(&block)
        clear! unless @disable_clear_and_finalize
        eval_block(block)
        finalize! unless @disable_clear_and_finalize
        nil
      end