Results for: "Pathname"

No documentation available

Indicate if this NameTuple matches the current platform.

This is ported over from the yaml_tree in 1.9.3

No documentation available

Checks if this specification meets the requirement of dependency.

No documentation available
No documentation available
No documentation available

Terminate the application with exit code status, running any exit handlers that might have been defined.

Constructs the default Hash of patterns.

No documentation available

Returns the destination encoding as an encoding object.

Returns the destination encoding as an encoding object.

Returns the corresponding ASCII compatible encoding.

Returns nil if the argument is an ASCII compatible encoding.

“corresponding ASCII compatible encoding” is an ASCII compatible encoding which can represents exactly the same characters as the given ASCII incompatible encoding. So, no conversion undefined error occurs when converting between the two encodings.

Encoding::Converter.asciicompat_encoding("ISO-2022-JP") #=> #<Encoding:stateless-ISO-2022-JP>
Encoding::Converter.asciicompat_encoding("UTF-16BE") #=> #<Encoding:UTF-8>
Encoding::Converter.asciicompat_encoding("UTF-8") #=> nil

Returns the destination encoding as an Encoding object.

just for compatibility

Returns the trailing (‘parameters’) part of the value of field 'Content-Type', or nil if no such field exists; see Content-Type response header:

res = Net::HTTP.get_response(hostname, '/todos/1')
res['content-type'] # => "application/json; charset=utf-8"
res.type_params     # => {"charset"=>"utf-8"}

Return a Hash for RJIT statistics. --rjit-stats makes more information available.

No documentation available
No documentation available

Terminates the RubyGems process with the given exit_code

Check if --yjit-stats is used.

Return a hash for statistics generated for the --yjit-stats command line option. Return nil when option is not passed or unavailable.

Stores all parameters of key to the hash INSECURE: PRIVATE INFORMATIONS CAN LEAK OUT!!! Don’t use :-)) (I’s up to you)

Stores all parameters of key to the hash INSECURE: PRIVATE INFORMATIONS CAN LEAK OUT!!! Don’t use :-)) (I’s up to you)

Search took: 6ms  ·  Total Results: 2413