APIdock / Ruby
/
Browse About
method

y

v2_5_5 - Show latest stable - Class: Kernel
y(*objects)
private

An alias for Psych.dump_stream meant to be used with IRB.

# File ext/psych/lib/psych/y.rb, line 5
  def y *objects
    puts Psych.dump_stream(*objects)
  end

Related methods

  • Instance methods
  • Array
  • BigDecimal
  • Complex
  • Float
  • Hash
  • Integer
  • Pathname
  • Rational
  • String
  • __callee__
  • __dir__
  • __method__
  • `
  • abort
  • at_exit
  • autoload
  • autoload?
  • binding
  • block_given?
  • callcc
  • caller
  • caller_locations
  • catch
  • chomp
  • chop
  • eval
  • exec
  • exit
  • exit!
  • fail
  • fork
  • format
  • gem_original_require
  • gets
  • global_variables
  • gsub
  • iterator?
  • lambda
  • load
  • local_variables
  • loop
  • p
  • pretty_inspect
  • print
  • printf
  • proc
  • putc
  • puts
  • raise
  • rand
  • readline
  • readlines
  • require_relative
  • select
  • set_trace_func
  • sleep
  • spawn
  • sprintf
  • srand
  • sub
  • syscall
  • system
  • test
  • throw
  • trace_var
  • trap
  • untrace_var
  • warn
  • Class methods
  • URI
  • open
  • pp
  • Private methods
  • privateopen_uri_original_open
  • privateJSON
  • privateURI
  • privategem
  • privatej
  • privatejj
  • privateopen
  • privateopen_uri_original_open
  • privatepp
  • privaterequire
  • privatescanf
  • privatey
APIdock API Documentation Browser

© 2026 APIdock