Module UnionStationHooks::Utils
In: src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/utils.rb

Various utility methods.

@private

Methods

Constants

ProcessTimes = Struct.new(:utime, :stime)

Public Class methods

Public Instance methods

Base64-encodes the given data. Newlines are removed. This is like `Base64.strict_encode64`, but also works on Ruby 1.8 which doesn‘t have that method.

Workaround for approximating the monotonic clock

[Validate]