module RDoc

def self.load_yaml

def self.load_yaml
  begin
    gem 'psych'
  rescue NameError => e # --disable-gems
    raise unless e.name == :gem
  rescue Gem::LoadError
  end
  begin
    require 'psych'
  rescue ::LoadError
  ensure
    require 'yaml'
  end
end