require 'impartial/version' require 'impartial/base' require 'impartial/configuration' module Impartial extend Configuration class << self # Alias Impartial::Base.new # # @return [Impartial::Base] def new(options = {}) Impartial::Base.new(options) end # Delegate to Impartial::Base def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end private def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end end end