instance method
Kernel#y
y(*objects)
ext/psych/lib/psych/y.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/y.rb, line 5
def y *objects
puts Psych.dump_stream(*objects)
end
An alias for Psych.dump_stream meant to be used with IRB.