module Gem::Specification::YamlBackfiller

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

Public Instance Methods

to_yaml(opts = {}) click to toggle source
Calls superclass method
# File bundler/rubygems_ext.rb, line 119
def to_yaml(opts = {})
  Gem.load_yaml unless defined?(::YAML)

  super(opts)
end