Class: Object

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

Instance Method Summary collapse

Instance Method Details

#experiment(name) ⇒ Object

Deprecated.

Use this method to access an experiment by name.

Examples:

puts experiment(:text_size).alternatives

See Also:



393
394
395
396
# File 'lib/vanity/playground.rb', line 393

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