method

split_args

Importance_0
v2.1.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/commands/plugin.rb, line 509
    def split_args(args)
      left = []
      left << args.shift while args[0] and args[0] =~ /^-/
      left << args.shift if args[0]
      return [left, args]
    end
Register or log in to add new notes.