method
backport_yaml_initialize
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.
backport_yaml_initialize()public
This backport fixes the marshaling of @segments.
# File lib/bundler/rubygems_integration.rb, line 536
def backport_yaml_initialize
redefine_method(Gem::Version, :yaml_initialize) do |_, map|
@version = map["version"]
@segments = nil
@hash = nil
end
end Related methods
- Instance methods
- backport_base_dir
- backport_cache_file
- backport_segment_generation
- backport_spec_file
- backport_yaml_initialize
- bin_path
- binstubs_call_gem?
- build
- build_args
- build_args=
- build_gem
- clear_paths
- config_map
- configuration
- download_gem
- ext_lock
- fetch_all_remote_specs
- fetch_prerelease_specs
- fetch_specs
- gem_bindir
- gem_cache
- gem_dir
- gem_from_path
- gem_path
- inflate
- install_with_build_args
- load_path_insert_index
- load_plugin_files
- load_plugins
- loaded_gem_paths
- loaded_specs
- mark_loaded
- marshal_spec_dir
- method_visibility
- path
- path_separator
- platforms
- post_reset_hooks
- preserve_paths
- provides?
- read_binary
- redefine_method
- replace_bin_path
- replace_entrypoints
- replace_gem
- replace_refresh
- repository_subdirectories
- reset
- reverse_rubygems_kernel_mixin
- ruby_engine
- security_policies
- security_policy_keys
- set_installed_by_version
- sources
- sources=
- spec_cache_dirs
- spec_default_gem?
- spec_extension_dir
- spec_from_gem
- spec_matches_for_glob
- spec_missing_extensions?
- stub_set_spec
- stub_source_index
- stubs_provide_full_functionality?
- suffix_pattern
- ui=
- undo_replacements
- user_home
- validate
- version
- with_build_args
- Class methods
- new
- provides?
- version