Results for: "to_proc"

Returns a Hash consisting of header names and array of values. e.g. {“cache-control” => [“private”],

"content-type" => ["text/html"],
"date" => ["Wed, 22 Jun 2005 22:11:50 GMT"]}
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

In case we’re building docs in a background process, this method waits for that process to exit (or if it’s already been reaped, or never happened, swallows the Errno::ECHILD error).

No documentation available
No documentation available

Convert internal ID of token symbol to the string.

Mounts a proc at a path that accepts a request and response.

Instead of mounting this servlet with WEBrick::HTTPServer#mount use WEBrick::HTTPServer#mount_proc:

server.mount_proc '/' do |req, res|
  res.body = 'it worked!'
  res.status = 200
end
No documentation available
No documentation available

Coerce an object to a string, providing our own representation if to_s is not defined for the object.

Nonsymmetric reduction to Hessenberg form.

No documentation available
No documentation available
No documentation available

Converts this AvailableSet into a RequestSet that can be used to install gems.

If development is :none then no development dependencies are installed. Other options are :shallow for only direct development dependencies of the gems in this set or :all for all development dependencies.

Is is ok to remove a gemspec from the dependency list?

If removing the gemspec creates breaks a currently ok dependency, then it is NOT ok to remove the gemspec.

Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.

Add spec to +@fetcher+ serving the data in the file path. repo indicates which repo to make spec appear to be in.

No documentation available
No documentation available

Given a name in a name_with_underscores or a name-with-dashes format, returns the CamelCase version of name.

If the name is already CamelCased, nothing happens.

Examples:

require 'rss/utils'

RSS::Utils.to_class_name("sample_name")
# => "SampleName"
RSS::Utils.to_class_name("with-dashes")
# => "WithDashes"
RSS::Utils.to_class_name("CamelCase")
# => "CamelCase"
Search took: 2ms  ·  Total Results: 1871