module BlackAndWhite

Constants

AbTestError
VERSION

Public Class Methods

add(klass, &block) click to toggle source
# File lib/black_and_white.rb, line 11
def self.add(klass, &block)
  klass.class_eval(&block)
end
config() click to toggle source
# File lib/black_and_white/config.rb, line 7
def self.config
  @config ||= BlackAndWhite::Config.new
end
configure() { |config| ... } click to toggle source
# File lib/black_and_white/config.rb, line 3
def self.configure(&block)
  yield config
end
create(args = {}) click to toggle source
# File lib/black_and_white.rb, line 7
def self.create(args = {})
  Broker.invoke(:create, args)
end