Sha256: f83ccd9ed380bbf722050d856ef45c8ae11f4db88d9d60f35efd92d32af7cb70

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

require_relative 'compile_cache/iseq'
require_relative 'compile_cache/yaml'

module Bootsnap
  module CompileCache
    def self.setup(cache_dir:, iseq:, yaml:)
      if iseq
        Bootsnap::CompileCache::ISeq.install!(cache_dir)
      end

      if yaml
        Bootsnap::CompileCache::YAML.install!(cache_dir)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootsnap-1.0.0 lib/bootsnap/compile_cache.rb
bootsnap-0.3.2 lib/bootsnap/compile_cache.rb
bootsnap-0.3.1 lib/bootsnap/compile_cache.rb
bootsnap-0.3.0 lib/bootsnap/compile_cache.rb
bootsnap-0.3.0.pre3 lib/bootsnap/compile_cache.rb
bootsnap-0.3.0.pre2 lib/bootsnap/compile_cache.rb
bootsnap-0.3.0.pre lib/bootsnap/compile_cache.rb