method

mark_loaded

ruby latest stable - Class: Bundler::RubygemsIntegration

Method not available on this version

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

mark_loaded(spec)
public

No documentation available.

# File lib/bundler/rubygems_integration.rb, line 51
    def mark_loaded(spec)
      if spec.respond_to?(:activated=)
        current = Gem.loaded_specs[spec.name]
        current.activated = false if current
        spec.activated = true
      end
      Gem.loaded_specs[spec.name] = spec
    end