summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/core_ext.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/lib/psych/core_ext.rb')
-rw-r--r--ext/psych/lib/psych/core_ext.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/psych/lib/psych/core_ext.rb b/ext/psych/lib/psych/core_ext.rb
index 8d3e8fb7b6..be26b2f449 100644
--- a/ext/psych/lib/psych/core_ext.rb
+++ b/ext/psych/lib/psych/core_ext.rb
@@ -6,9 +6,10 @@ class Object
# FIXME: rename this to "to_yaml" when syck is removed
###
- # call-seq: to_yaml
+ # call-seq: to_yaml(options = {})
#
- # Convert an object to YAML
+ # Convert an object to YAML. See Psych.dump for more information on the
+ # available +options+.
def psych_to_yaml options = {}
Psych.dump self, options
end