summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/y.rb
blob: e857953c0471fbee9658f928db57432c2e321e3b (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true
module Kernel
  ###
  # An alias for Psych.dump_stream meant to be used with IRB.
  def y *objects
    puts Psych.dump_stream(*objects)
  end
  private :y
end