Results for: "Logger"

Root of the HTTP error statuses

Root of the HTTP client error statuses

No documentation available

Class used to manage timeout handlers across multiple threads.

Timeout handlers should be managed by using the class methods which are synchronized.

id = TimeoutHandler.register(10, Timeout::Error)
begin
  sleep 20
  puts 'foo'
ensure
  TimeoutHandler.cancel(id)
end

will raise Timeout::Error

id = TimeoutHandler.register(10, Timeout::Error)
begin
  sleep 5
  puts 'foo'
ensure
  TimeoutHandler.cancel(id)
end

will print ‘foo’

An object representation of a stack frame, initialized by Kernel#caller_locations.

For example:

# caller_locations.rb
def a(skip)
  caller_locations(skip)
end
def b(skip)
  a(skip)
end
def c(skip)
  b(skip)
end

c(0..2).map do |call|
  puts call.to_s
end

Running ruby caller_locations.rb will produce:

caller_locations.rb:2:in `a'
caller_locations.rb:5:in `b'
caller_locations.rb:8:in `c'

Here’s another example with a slightly different result:

# foo.rb
class Foo
  attr_accessor :locations
  def initialize(skip)
    @locations = caller_locations(skip)
  end
end

Foo.new(0..2).locations.map do |call|
  puts call.to_s
end

Now run ruby foo.rb and you should see:

init.rb:4:in `initialize'
init.rb:8:in `new'
init.rb:8:in `<main>'
No documentation available

The PersonConstruct module is used to define a person Atom element that can be used to describe a person, corporation or similar entity.

The PersonConstruct has a Name, Uri and Email child elements.

Reference: validator.w3.org/feed/docs/rfc4287.html#atomPersonConstruct

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

Gem::Resolver::Molinillo is a generic dependency resolution algorithm.

Patterns used to parse URI’s

User database mixin for HTTPAuth. This mixin dispatches user record access to the underlying auth_type for this database.

Indicates some other unhandled resolver error was encountered.

A generic resource abstract class.

Contains information on the agent used to generate the feed.

Reference: validator.w3.org/feed/docs/rfc4287.html#element.generator

Defines an image that provides a visual identification for the Feed. The image should have an aspect ratio of 2:1 (horizontal:vertical).

Reference: validator.w3.org/feed/docs/rfc4287.html#element.logo

No documentation available
No documentation available

An error that occurred during the resolution process

Search took: 5ms  ·  Total Results: 2442