Module: Regurgitator

Defined in:
lib/regurgitator.rb

Overview

The Regurgitator main module, serving as a namespace for all modules and classes.

All modules meant for use in applications are autoload-ed, so just “require ‘regurgitator’” in your code.

Defined Under Namespace

Modules: Device, Domain, Endpoint, FileInfo, ListKeys, Local, ServerSettings Classes: DomainHost, DomainPath, FileRequest, LocalFile, OneDomain

Constant Summary collapse

Error =

used to wrap up all Regurgitator-specific extensions

Class.new(StandardError)
NoDevices =

raised when there are no readable devices

Class.new(Error)
BadResponse =

raised by FileRequest when the HTTP status code is outside of (200-299, 304)

Class.new(Error)

Class Method Summary collapse

Class Method Details

.nowObject

:nodoc:



32
33
34
# File 'lib/regurgitator.rb', line 32

def self.now # :nodoc:
  Process.clock_gettime(Process::CLOCK_MONOTONIC)
end