method

check_for_group_conflicts_in_cli_options

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

Method not available on this version

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

check_for_group_conflicts_in_cli_options()
private

No documentation available.

# File lib/bundler/cli/install.rb, line 123
    def check_for_group_conflicts_in_cli_options
      conflicting_groups = Array(options[:without]) & Array(options[:with])
      return if conflicting_groups.empty?
      raise InvalidOption, "You can't list a group in both with and without."          " The offending groups are: #{conflicting_groups.join(", ")}."
    end