redither

redither() Instance Public methods

open

open(path [, mode [, perm]] [, opt]) â io or nilopen(path [, mode [, perm]] [, opt]) {|io| block } â obj Class Public methods Creates an IO object connected to the given stream, file, or subprocess. If path does not start with a pipe character (|), treat it as the name of a file to open using the specified mode (defaulting to ârâ). The mode is either a string or an integer. If it is an integer, it must be bitwise-or of open(2) flags, such as File::RDWR or File::EX

<

Instance Public methods Inputs from source, which is either a string of a file name or an IO object.

exec_update

exec_update(sql, name, binds) Instance Public methods Alias for: exec_delete

new

new( message, source=nil, parser=nil, exception=nil ) Class Public methods

shellescape

shellescape(str) Class Public methods Escapes a string so that it can be safely used in a Bourne shell command line. str can be a non-string object that responds to to_s. Note that a resulted string should be used unquoted and is not intended for use in double quotes nor in single quotes. argv = Shellwords.escape("It's better to give than to receive") argv #=> "It\\'s\\ better\\ to\\ give\\ than\\ to\\ receive" String#shellescape is a shorthand for this function. argv = "It's

note

note(label) Instance Public methods Stores label as a note and fills in previously unknown note references.

protected_methods

protected_methods(all=true) Instance Public methods Returns the methods available to this delegate object as the union of this object's and _getobj_ protected methods.

new

new(config={}, default=Config::HTTP) Class Public methods Proxy server configurations. The proxy server handles the following configuration items in addition to those supported by HTTPServer: :ProxyAuthProc Called with a request and response to authorize a request :ProxyVia Appended to the via header :ProxyURI The proxy server's URI :ProxyContentHandler Called with a request and response and allows modification of the response :ProxyTimeout Sets the proxy timeouts to

delete_source

delete_source(*wins) Class Public methods