Results for: "fnmatch"

Iterates a block for each line.

No documentation available
No documentation available
No documentation available
No documentation available

Args

v

String

Description

public setter for the scheme component v. (with validation)

see also URI::Generic.check_scheme

Usage

require 'uri'

uri = URI.parse("http://my.example.com")
uri.scheme = "https"
# =>  "https"
uri
#=> #<URI::HTTP:0x000000008e89e8 URL:https://my.example.com>

Args

v

String

Description

public setter for the path component v. (with validation)

see also URI::Generic.check_path

Usage

require 'uri'

uri = URI.parse("http://my.example.com/pub/files")
uri.path = "/faq/"
# =>  "/faq/"
uri
#=> #<URI::HTTP:0x000000008e89e8 URL:http://my.example.com/faq/>

Checks if URI has a path

Checks if URI is relative

Returns normalized URI

Destructive version of normalize

returns attributes.

setter for attributes val

Checks if URI has a path For URI::LDAP this will return false

Iterates over the request headers

Sets the response’s status to the status code

Iterates over each header in the response

Will this response body be returned using chunked transfer-encoding?

Enables chunked transfer encoding.

Unmounts dir

Shortcut for logging a FATAL message

Will the logger output FATAL messages?

Updates the database with multiple values from the specified object. Takes any object which implements the each_pair method, including Hash and DBM objects.

Returns self.

No documentation available

Returns the least significant eight bits of the return code of stat. Only available if exited? is true.

fork { }           #=> 26572
Process.wait       #=> 26572
$?.exited?         #=> true
$?.exitstatus      #=> 0

fork { exit 99 }   #=> 26573
Process.wait       #=> 26573
$?.exited?         #=> true
$?.exitstatus      #=> 99
Search took: 6ms  ·  Total Results: 2041