Module: Ab

Defined in:
lib/ab/test.rb,
lib/ab/tests.rb,
lib/ab/version.rb,
lib/ab/null_test.rb,
lib/ab/assigned_test.rb,
lib/ab/configuration.rb,
lib/ab/missing_variant.rb

Defined Under Namespace

Modules: MissingVariant Classes: AssignedTest, Config, NullTest, Test, Tests

Constant Summary collapse

VERSION =
'0.2.7'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



5
6
7
# File 'lib/ab/configuration.rb', line 5

def config
  @config ||= Config.new
end

Class Method Details

.configure {|@config| ... } ⇒ Object

Yields:



9
10
11
12
# File 'lib/ab/configuration.rb', line 9

def configure
  @config ||= Config.new
  yield(@config)
end