method

unshift

ruby latest stable - Class: Bundler::Thor::Arguments

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

unshift(arg)
private

No documentation available.

# File lib/bundler/vendor/thor/lib/thor/parser/arguments.rb, line 76
    def unshift(arg)
      if arg.is_a?(Array)
        @pile = arg + @pile
      else
        @pile.unshift(arg)
      end
    end