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:



328
329
330
331
# File 'lib/vanity/playground.rb', line 328

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