From cdc527db342eda4c58b62c5dc2a14441a395df5d Mon Sep 17 00:00:00 2001 From: hsbt Date: Sat, 5 Nov 2016 09:18:10 +0000 Subject: * lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0 Release note: https://github.com/rdoc/rdoc/blob/b825775647f62c5b525e9780a28ff2fbb1d5bf6f/History.rdoc#500--2016-11-05 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/options.rb | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/rdoc/options.rb') diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index 2bc7474eb0..60cfb5e553 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -1187,19 +1187,6 @@ Usage: #{opt.program_name} [options] [names...] end end - ## - # This is compatibility code for syck - - def to_yaml opts = {} # :nodoc: - return super if YAML.const_defined?(:ENGINE) and not YAML::ENGINE.syck? - - YAML.quick_emit self, opts do |out| - out.map taguri, to_yaml_style do |map| - encode_with map - end - end - end - # Sets the minimum visibility of a documented method. # # Accepts +:public+, +:protected+, +:private+, +:nodoc+, or +:all+. -- cgit v1.2.3