summaryrefslogtreecommitdiff
path: root/ext/psych
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-16 16:19:46 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-16 16:19:46 +0000
commite39caa7550adf888e2e1a1ab7c75fd17c96df1d6 (patch)
treef33728427640df70df73de630e89e2a1b2baa076 /ext/psych
parent25575b7cd716b0ee04a6f0f253884b913a49d6c8 (diff)
* ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz
[Github tenderlove/psych#118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych')
-rw-r--r--ext/psych/lib/psych/y.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/y.rb b/ext/psych/lib/psych/y.rb
index f20d2e2a66..d0e049d4e5 100644
--- a/ext/psych/lib/psych/y.rb
+++ b/ext/psych/lib/psych/y.rb
@@ -1,4 +1,6 @@
module Kernel
+ ###
+ # An alias for Psych.dump_stream meant to be used with IRB.
def y *objects
puts Psych.dump_stream(*objects)
end