method

verify_group_exists

ruby latest stable - Class: Bundler::CLI::List

Method not available on this version

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

verify_group_exists(groups)
private

No documentation available.

# File lib/bundler/cli/list.rb, line 34
    def verify_group_exists(groups)
      raise InvalidOption, "`#{@options["without-group"]}` group could not be found." if @options["without-group"] && !groups.include?(@options["without-group"].to_sym)

      raise InvalidOption, "`#{@options["only-group"]}` group could not be found." if @options["only-group"] && !groups.include?(@options["only-group"].to_sym)
    end