method

new

ruby latest stable - Class: Bundler::CompactIndexClient::Cache

Method not available on this version

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

new(directory)
public

No documentation available.

# File lib/bundler/compact_index_client/cache.rb, line 8
      def initialize(directory)
        @directory = Pathname.new(directory).expand_path
        info_roots.each do |dir|
          SharedHelpers.filesystem_access(dir) do
            FileUtils.mkdir_p(dir)
          end
        end
      end