method

split_args

rails latest stable - Class: Rails::Commands::Plugin

Method deprecated or moved

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

split_args(args)
public

No documentation available.

# File railties/lib/rails/commands/plugin.rb, line 340
      def split_args(args)
        left = []
        left << args.shift while args[0] and args[0] =~ /^-/
        left << args.shift if args[0]
        [left, args]
      end