summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/psych/lib/psych/y.rb2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 108fa35..ae0b5bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Feb 17 01:19:00 2013 Zachary Scott <zachary@zacharyscott.net>
+
+ * ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz
+ [Github tenderlove/psych#118]
+
Sun Feb 17 00:52:14 2013 NARUSE, Yui <naruse@ruby-lang.org>
* tool/mkconfig.rb: remove prefix from rubyarchdir.
diff --git a/ext/psych/lib/psych/y.rb b/ext/psych/lib/psych/y.rb
index f20d2e2..d0e049d 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