Results for: "Psych"

No documentation available

A FetchError exception wraps up the various possible IO and HTTP failures that could happen while downloading from the internet.

The SpecFetcherSetup allows easy setup of a remote source in RubyGems tests:

spec_fetcher do |f|
  f.gem  'a', 1
  f.spec 'a', 2
  f.gem  'b', 1' 'a' => '~> 1.0'
end

The above declaration creates two gems, a-1 and b-1, with a dependency from b to a. The declaration creates an additional spec a-2, but no gem for it (so it cannot be installed).

After the gems are created they are removed from Gem.dir.

No documentation available
No documentation available

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
No documentation available

Convert this node to Ruby.

See also Psych::Visitors::ToRuby

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Convert klassname to a Class

Create an exception with class klass and message

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
Search took: 3ms  ·  Total Results: 1038