summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZachary Scott <zachary@zacharyscott.net>2013-02-16 11:14:04 -0500
committerZachary Scott <zachary@zacharyscott.net>2013-02-16 11:14:04 -0500
commit706545c9272b6790dd30ecb756b6c51c5956a745 (patch)
treeeabdaf391049759f5ca115dae555c2940e6acfcf /lib
parent69a1aea11b5687a500d0901e7513691766ce80d4 (diff)
downloadpsych-706545c9272b6790dd30ecb756b6c51c5956a745.zip
* lib/psych/y.rb: Document Kernel#y [Github Fixes #127]
Diffstat (limited to 'lib')
-rw-r--r--lib/psych/y.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/psych/y.rb b/lib/psych/y.rb
index f20d2e2..d0e049d 100644
--- a/lib/psych/y.rb
+++ b/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