class Bundler::Definition

def lock_version

Gemfile.lock. Used in #to_lock.
Returns the version of Bundler that is creating or has created
def lock_version
  if @locked_bundler_version && @locked_bundler_version < Gem::Version.new(Bundler::VERSION)
    new_version = Bundler::VERSION
  end
  new_version || @locked_bundler_version || Bundler::VERSION
end