Class: Experimental::Source::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/experimental/source/base.rb

Direct Known Subclasses

ActiveRecord, Cache, Configuration

Instance Method Summary collapse

Instance Method Details

#[](name) ⇒ Object

Return the experiment with the given name (Symbol or String)

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/experimental/source/base.rb', line 5

def [](name)
  raise NotImplementedError, 'abstract'
end

#availableObject

Return all non-removed experiments.

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/experimental/source/base.rb', line 10

def available
  raise NotImplementedError, 'abstract'
end