Results for: "Pathname"

Singular reader for authors. Returns the first author in the list

The list of author names who wrote this gem.

spec.authors = ['Chad Fowler', 'Jim Weirich', 'Rich Kilmer']

The date this gem was created. Lazily defaults to the current UTC date.

There is no need to set this in your gem specification.

The date this gem was created

DO NOT set this, it is set automatically when the gem is packaged.

The platform this gem runs on. See Gem::Platform for details.

Set requirements to req, ensuring it is an array. Don’t use this, push onto the array instead.

Checks that the specification contains all required fields, and does a very basic sanity check.

Raises InvalidSpecificationException if the spec does not pass the checks..

No documentation available

Returns a Cat object, for the given filenames

Returns a Concat object, for the given jobs

No documentation available
No documentation available
No documentation available

returns the parser to be used.

Unless a URI::Parser is defined, then DEFAULT_PARSER is used.

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 password component. (with validation)

see also URI::Generic.check_password

Usage

require 'uri'

uri = URI.parse("http://john:S3nsit1ve@my.example.com")
uri.password = "V3ry_S3nsit1ve"
# =>  "V3ry_S3nsit1ve"
uri
#=> #<URI::HTTP:0x00000000881d90 URL:http://john:V3ry_S3nsit1ve@my.example.com>

returns the password component

Args

v

String

Description

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

see also URI::Generic.check_opaque

check the fragment v component against the URI::Parser Regexp for :FRAGMENT

Args

v

String

Description

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

Usage

require 'uri'

uri = URI.parse("http://my.example.com/?id=25#time=1305212049")
uri.fragment = "time=1305212086"
# =>  "time=1305212086"
uri
#=> #<URI::HTTP:0x000000007a81f8 URL:http://my.example.com/?id=25#time=1305212086>

Checks if URI is relative

Args

oth

URI or String

Description

Destructive form of merge

Usage

require 'uri'

uri = URI.parse("http://my.example.com")
uri.merge!("/main.rbx?page=1")
p uri
# =>  #<URI::HTTP:0x2021f3b0 URL:http://my.example.com/main.rbx?page=1>

Args

oth

URI or String

Description

Merges two URI’s.

Usage

require 'uri'

uri = URI.parse("http://my.example.com")
p uri.merge("/main.rbx?page=1")
# =>  #<URI::HTTP:0x2021f3b0 URL:http://my.example.com/main.rbx?page=1>

return base and rel. you can modify ‘base’, but can not ‘rel’.

returns attributes.

setter for attributes val

Search took: 8ms  ·  Total Results: 2593