るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.128秒)
トップページ > クエリ:i[x] > クエリ:>[x] > バージョン:3.1[x] > クエリ:document[x] > クエリ:parse_file[x]

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document node_type
  4. rexml/document to_s
  5. rexml/document clone

ライブラリ

モジュール

検索結果

Psych.parse_file(filename) -> Psych::Nodes::Document (73507.0)

filename で指定したファイルをパースして YAML の AST を返します。

filename で指定したファイルをパースして YAML の AST を返します。

@param filename パースするファイルの名前
@raise Psych::SyntaxError YAMLドキュメントに文法エラーが発見されたときに発生します