method

to_lock

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

Method not available on this version

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

to_lock()
public

No documentation available.

# File lib/bundler/source/git.rb, line 39
      def to_lock
        out = String.new("GIT\n")
        out << "  remote: #{@uri}\n"
        out << "  revision: #{revision}\n"
        ]ref branch tag submodules].each do |opt|
          out << "  #{opt}: #{options[opt]}\n" if options[opt]
        end
        out << "  glob: #{@glob}\n" unless @glob == DEFAULT_GLOB
        out << "  specs:\n"
      end