このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

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

instance method Psych::Nodes::Document#tag_directives=

tag_directives=(tags)Ruby 1.9.3 から[permalink][rdoc][edit]

tag directive の配列を設定します。

[PARAM] tags:
設定する tag directive の配列

[SEE_ALSO] Psych::Nodes::Document#tag_directives, Psych::Nodes::Document.new