123456789_123456789_123456789_123456789_123456789_

Module: Gem::Specification::YamlBackfiller

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/bundler/rubygems_ext.rb

Overview

Backfill missing YAML require when not defined. Fixed since 3.1.0.pre1.

Instance Method Summary

Instance Method Details

#to_yaml(opts = {})

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 119

def to_yaml(opts = {})
  Gem.load_yaml unless defined?(::YAML)

  super(opts)
end