summaryrefslogtreecommitdiff
path: root/lib/rdoc/options.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 09:18:10 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-05 09:18:10 +0000
commitcdc527db342eda4c58b62c5dc2a14441a395df5d (patch)
tree237c953b345a00333d1600706a7f2484b4ad408c /lib/rdoc/options.rb
parent0a0eb2807ed745e1cdf7f4698fe805b4aaaee2c6 (diff)
* 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
Diffstat (limited to 'lib/rdoc/options.rb')
-rw-r--r--lib/rdoc/options.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb
index 2bc7474eb0c..60cfb5e5531 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+.