⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
ENV
/
View File Name :
cdesc-ENV.ri
U:RDoc::NormalClass[iI"ENV:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[&o:RDoc::Markup::Paragraph;[I";ENV is a hash-like accessor for environment variables.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"*Interaction with the Operating System;T@o; ;[I"PThe ENV object interacts with the operating system's environment variables:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"sWhen you get the value for a name in ENV, the value is retrieved from among the current environment variables.;To;;0;[o; ;[I"zWhen you create or set a name-value pair in ENV, the name and value are immediately set in the environment variables.;To;;0;[o; ;[I"hWhen you delete a name-value pair in ENV, it is immediately deleted from the environment variables.;T@S;;i; I"Names and Values;T@o; ;[I",Generally, a name or value is a String.;T@S;;i ; I"Valid Names and Values;T@o; ;[I"5Each name or value must be one of the following:;T@o;;;;[o;;0;[o; ;[I"A String.;To;;0;[o; ;[I"|An object that responds to \#to_str by returning a String, in which case that String will be used as the name or value.;T@S;;i ; I"Invalid Names and Values;T@o; ;[I"A new name:;T@o;;;;[o;;0;[o; ;[I"!May not be the empty string:;To:RDoc::Markup::Verbatim;[I"ENV[''] = '0' ;TI"?# Raises Errno::EINVAL (Invalid argument - ruby_setenv()) ;T:@format0o;;0;[o; ;[I"0May not contain character <code>"="</code>:;To;;[I"ENV['='] = '0' ;TI"@# Raises Errno::EINVAL (Invalid argument - ruby_setenv(=)) ;T;0o; ;[I"A new name or value:;T@o;;;;[o;;0;[o; ;[I"?May not be a non-String that does not respond to \#to_str:;T@o;;[ I"ENV['foo'] = Object.new ;TI"G# Raises TypeError (no implicit conversion of Object into String) ;TI"ENV[Object.new] = '0' ;TI"G# Raises TypeError (no implicit conversion of Object into String) ;T;0o;;0;[o; ;[I"9May not contain the NUL character <code>"\0"</code>:;T@o;;[ I"ENV['foo'] = "\0" ;TI"Q# Raises ArgumentError (bad environment variable value: contains null byte) ;TI"ENV["\0"] == '0' ;TI"P# Raises ArgumentError (bad environment variable name: contains null byte) ;T;0o;;0;[o; ;[I"QMay not have an ASCII-incompatible encoding such as UTF-16LE or ISO-2022-JP:;T@o;;[ I"<ENV['foo'] = '0'.force_encoding(Encoding::ISO_2022_JP) ;TI"f# Raises ArgumentError (bad environment variable name: ASCII incompatible encoding: ISO-2022-JP) ;TI"<ENV["foo".force_encoding(Encoding::ISO_2022_JP)] = '0' ;TI"f# Raises ArgumentError (bad environment variable name: ASCII incompatible encoding: ISO-2022-JP) ;T;0S;;i; I"About Ordering;T@o; ;[I"<ENV enumerates its name/value pairs in the order found ;TI"6in the operating system's environment variables. ;TI"UTherefore the ordering of ENV content is OS-dependent, and may be indeterminate.;T@o; ;[I"This will be seen in:;To;;;;[o;;0;[o; ;[I"&A Hash returned by an ENV method.;To;;0;[o; ;[I"-An Enumerator returned by an ENV method.;To;;0;[o; ;[I"<An Array returned by ENV.keys, ENV.values, or ENV.to_a.;To;;0;[o; ;[I"(The String returned by ENV.inspect.;To;;0;[o; ;[I"%The Array returned by ENV.shift.;To;;0;[o; ;[I""The name returned by ENV.key.;T@S;;i; I"About the Examples;To; ;[I"]Some methods in ENV return ENV itself. Typically, there are many environment variables. ;TI"BIt's not useful to display a large ENV in the examples here, ;TI"Eso most example snippets begin by resetting the contents of ENV:;To;;;;[o;;0;[o; ;[I"?ENV.replace replaces ENV with a new collection of entries.;To;;0;[o; ;[I"ENV.clear empties ENV.;T: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[4[I"[];TI"hash.c;T[I"[]=;T@�[I" assoc;T@�[I" clear;T@�[I"delete;T@�[I"delete_if;T@�[I" each;T@�[I" each_key;T@�[I"each_pair;T@�[I"each_value;T@�[I"empty?;T@�[I"except;T@�[I" fetch;T@�[I"filter;T@�[I"filter!;T@�[I"freeze;T@�[I" has_key?;T@�[I"has_value?;T@�[I" include?;T@�[I"inspect;T@�[I"invert;T@�[I"keep_if;T@�[I"key;T@�[I" key?;T@�[I" keys;T@�[I"length;T@�[I"member?;T@�[I"merge!;T@�[I"rassoc;T@�[I"rehash;T@�[I"reject;T@�[I"reject!;T@�[I"replace;T@�[I"select;T@�[I"select!;T@�[I" shift;T@�[I" size;T@�[I" slice;T@�[I" store;T@�[I" to_a;T@�[I" to_h;T@�[I"to_hash;T@�[I" to_s;T@�[I"update;T@�[I"value?;T@�[I"values;T@�[I"values_at;T@�[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@�@�cRDoc::TopLevel