module Quebert

Constants

VERSION

Public Class Methods

backends() click to toggle source

Registry for quebert backends

# File lib/quebert.rb, line 22
def backends
  @backends ||= Support::Registry.new
end
config()
Alias for: configuration
configuration() click to toggle source
# File lib/quebert.rb, line 16
def configuration
  @configuration ||= Configuration.new
end
Also aliased as: config
deprecate(message, &block) click to toggle source

Deprecation notice for code within block.

# File lib/quebert.rb, line 36
def deprecate(message, &block)
  logger.warn "Quebert Deprecation Notice: #{message}"
  block.call
end
logger() click to toggle source

Make this easier for elsewhere in the app

# File lib/quebert.rb, line 31
def logger
  config.logger
end
serializers() click to toggle source
# File lib/quebert.rb, line 26
def serializers
  @serializers ||= Support::ClassRegistry.new
end