proxy_basic_auth

proxy_basic_auth(req, res, realm) Instance Public methods Simple wrapper for providing basic authentication for a proxied request. When called with a request req, response res, authentication realm and block the block will be called with a username and password. If the block returns true the request is allowed to continue, otherwise an HTTPStatus::ProxyAuthenticationRequired error is raised.

ord

int.ord â self Instance Public methods Returns the int itself. ?a.ord #=> 97 This method is intended for compatibility to character constant in Ruby 1.9. For example, ?a.ord returns 97 both in 1.8 and 1.9.

unitary?

unitary?() Instance Public methods Returns true is this is a unitary matrix Raises an error if matrix is not square.

new

new(pattern = nil, conv = nil, short = nil, long = nil, arg = nil, desc = ([] if short or long), block = Proc.new) Class Public methods

d

d() Instance Public methods Alias for: eigenvalue_matrix

tag

tag(intv_p = false, relname=nil) Instance Public methods

childNodes

childNodes() Instance Public methods IXMLDOMNodeList childNodes the collection of the node's children

<=

big Instance Public methods Returns true if the value of big is less than or equal to that of real.

syslog=

syslog=(syslog) Class Public methods Specifies the internal Syslog object to be used.

pointer

pointer() Instance Public methods Returns the byte position of the scan pointer. In the 'reset' position, this value is zero. In the 'terminated' position (i.e. the string is exhausted), this value is the bytesize of the string. In short, it's a 0-based index into bytes of the string. s = StringScanner.new('test string') s.pos # -> 0 s.scan_until /str/ # -> "test str" s.pos # -> 8 s.terminate # -> #<StringScanner fin> s.pos