method

split_args

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: Commands::Plugin
split_args(args) public

No documentation

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

Hide source
# File railties/lib/rails/commands/plugin.rb, line 344
    def split_args(args)
      left = []
      left << args.shift while args[0] and args[0] =~ /^-/
      left << args.shift if args[0]
      [left, args]
    end
Register or log in to add new notes.