method

fail!

ruby latest stable - Class: Bundler::Settings::Validator::Rule

Method not available on this version

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

fail!(key, value, *reasons)
public

No documentation available.

# File lib/bundler/settings/validator.rb, line 19
        def fail!(key, value, *reasons)
          reasons.unshift @description
          raise InvalidOption, "Setting `#{key}` to #{value.inspect} failed:\n#{reasons.map {|r| " - #{r}" }.join("\n")}"
        end