Ruby 4.0 リファレンスマニュアル

instance method Psych::Nodes::Stream#encoding

encoding -> IntegerRuby 1.9.3 から[permalink][rdoc][edit]

stream に使われるエンコーディングを返します。

[SEE_ALSO] Psych::Nodes::Stream#encoding=