summaryrefslogtreecommitdiff
path: root/lib/rdoc/options.rb
diff options
context:
space:
mode:
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+.