method

contains?

ruby latest stable - Class: Bundler::Source::Git::GitProxy

Method not available on this version

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

contains?(commit)
public

No documentation available.

# File lib/bundler/source/git/git_proxy.rb, line 78
        def contains?(commit)
          allowed_in_path do
            result = git_null("branch --contains #{commit}")
            $? == 0 && result =~ /^\* (.*)$/
          end
        end