HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Psych/load-c.ri
U:RDoc::AnyMethod[iI"	load:ETI"Psych::load;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[
I"ILoad +yaml+ in to a Ruby data structure.  If multiple documents are ;TI"Lprovided, the object contained in the first document will be returned. ;TI"G+filename+ will be used in the exception message if any exception ;TI">is raised while parsing.  If +yaml+ is empty, it returns ;TI"Fthe specified +fallback+ return value, which defaults to +false+.;To:RDoc::Markup::BlankLineo;
;	[I"FRaises a Psych::SyntaxError when a YAML syntax error is detected.;T@o;
;	[I"
Example:;T@o:RDoc::Markup::Verbatim;	[I".Psych.load("--- a")             # => 'a'
;TI"5Psych.load("---\n - a\n - b")   # => ['a', 'b']
;TI"
;TI"begin
;TI"1  Psych.load("--- `", filename: "file.txt")
;TI"%rescue Psych::SyntaxError => ex
;TI""  ex.file    # => 'file.txt'
;TI"Q  ex.message # => "(file.txt): found character that cannot start any token"
;TI"	end
;T:@format0o;
;	[I"FWhen the optional +symbolize_names+ keyword argument is set to a ;TI"Mtrue value, returns symbols for keys in Hash objects (default: strings).;T@o;;	[I"NPsych.load("---\n foo: bar")                         # => {"foo"=>"bar"}
;TI"MPsych.load("---\n foo: bar", symbolize_names: true)  # => {:foo=>"bar"}
;T;
0o;
;	[I"9Raises a TypeError when `yaml` parameter is NilClass;T@o;
;	[I"RNOTE: This method *should not* be used to parse untrusted documents, such as ;TI"OYAML documents that are supplied via user input.  Instead, please use the ;TI"safe_load method.;T:
@fileI"ext/psych/lib/psych.rb;T:0@omit_headings_from_table_of_contents_below000[I"o(yaml, legacy_filename = NOT_GIVEN, filename: nil, fallback: false, symbolize_names: false, freeze: false);T@4FI"
Psych;TcRDoc::NormalModule00