⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
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
"="
:;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
"\0"
:;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"