Class: Object

Inherits:
BasicObject
Defined in:
lib/vanity/playground.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) experiment(name)

Deprecated.

Use this method to access an experiment by name.

Examples:

puts experiment(:text_size).alternatives

See Also:



512
513
514
515
# File 'lib/vanity/playground.rb', line 512

def experiment(name)
  warn "Deprecated. Please call Vanity.playground.experiment directly."
  Vanity.playground.experiment(name)
end