method

split_args

rails latest stable - Class: Commands::Plugin

Method deprecated or moved

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

split_args(args)
public

No documentation available.

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