callcc

callcc {|cont| block } â obj Instance Public methods Generates a Continuation object, which it passes to the associated block. You need to require 'continuation' before using this method. Performing a cont.call will cause the callcc to return (as will falling through the end of the block). The value returned by the callcc is the value of the block, or the value passed to cont.call. See class Continuation for more details. Also see #throw for an alternative mechanism for unwindi

executables

executables() Instance Public methods Executables included in the gem. For example, the rake gem has rake as an executable. You donât specify the full path (as in bin/rake); all application-style files are expected to be found in bindir. These files must be executable ruby files. Files that use bash or other interpreters will not work. Usage: spec.executables << 'rake'

extra_rdoc_files

extra_rdoc_files() Instance Public methods Extra files to add to RDoc such as README or doc/examples.txt When the user elects to generate the RDoc documentation for a gem (typically at install time), all the library files are sent to RDoc for processing. This option allows you to have some non-code files included for a more complete set of documentation. Usage: spec.extra_rdoc_files = ['README', 'doc/user-guide.txt']

setup_controller_request_and_response

setup_controller_request_and_response() Instance Public methods

add_generator

add_generator(klass) Class Public methods Add klass that can generate output after parsing

namespaceURI

namespaceURI() Instance Public methods BSTR namespaceURI the URI for the namespace applying to the node

check_cert

check_cert(signer, issuer, time) Instance Public methods Ensures that signer is valid for time and was signed by the issuer. If the issuer is nil no verification is performed.

verify_files

verify_files(gem) Instance Public methods Verifies the files of the gem

fetcher

fetcher() Class Public methods Cached RemoteFetcher instance.

new

new(proxy=nil, dns=Resolv::DNS.new) Class Public methods Initialize a remote fetcher using the source URI and possible proxy information. proxy [String]: explicit specification of proxy; overrides any environment variable setting nil: respect environment variables (HTTP_PROXY, HTTP_PROXY_USER, HTTP_PROXY_PASS) :no_proxy: ignore environment variables and _don't_ use a proxy dns: An object to use for DNS resolution of the API endpoint. By default, use Resolv::DNS.