module Cistern

Constants

Error
Timeout
VERSION

Public Class Methods

deprecation(message, source = caller[1]) click to toggle source
# File lib/cistern.rb, line 51
def self.deprecation(message, source = caller[1])
  STDERR.puts("#{message}. (#{source})") if deprecation_warnings?
end
deprecation_warnings=(status) click to toggle source
# File lib/cistern.rb, line 47
def self.deprecation_warnings=(status)
  @deprecation_warnings = status
end
deprecation_warnings?() click to toggle source
# File lib/cistern.rb, line 43
def self.deprecation_warnings?
  @deprecation_warnings.nil? ? true : !!@deprecation_warnings
end
formatter() click to toggle source
# File lib/cistern.rb, line 39
def self.formatter
  @formatter ||= Cistern::Formatter.default
end
formatter=(formatter) click to toggle source
# File lib/cistern.rb, line 35
def self.formatter=(formatter)
  @formatter = formatter
end