images

images() Instance Public methods

clone

clone() Instance Public methods

capture2e

capture2e(*cmd) Class Public methods ::capture2e captures the standard output and the standard error of a command. stdout_and_stderr_str, status = Open3.capture2e([env,] cmd... [, opts]) The arguments env, cmd and opts are passed to ::popen3 except opts and opts. See Process.spawn. If opts is specified, it is sent to the command's standard input. If opts is true, internal pipes are set to binary mode. Example: # capture make log make_log, s = Open3.capture2e("make")

filter

filter( options = Hash.new ) { |row| ... }filter( input, options = Hash.new ) { |row| ... }filter( input, output, options = Hash.new ) { |row| ... } Class Public methods This method is a convenience for building Unix-like filters for CSV data. Each row is yielded to the provided block which can alter it as needed. After the block returns, the row is appended to output altered or not. The input and output arguments can be anything ::new accepts (generally String or IO objects). If

root

root(req, res) Instance Public methods

new

new(file) Class Public methods

content_type=

content_type=(type) Instance Public methods Basic implementations for #content_type=, location=, and headers are provided to reduce the dependency on the RackDelegation module in Renderer and Redirector.

xml

xml() Instance Public methods BSTR xml return the XML source for the node and each of its descendants

check_key

check_key(signer, key) Instance Public methods Ensures the public key of key matches the public key in signer

proxy_class?

proxy_class?() Class Public methods returns true if self is a class which was created by HTTP::Proxy.