Class: Woodhouse::Registry

Inherits:
Object
  • Object
show all
Includes:
Util
Defined in:
lib/woodhouse/registry.rb

Direct Known Subclasses

MixinRegistry

Instance Method Summary (collapse)

Instance Method Details

- (Object) [](worker)

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/woodhouse/registry.rb', line 4

def [](worker)
  raise NotImplementedError, "subclass Woodhouse::Registry and override #[]"
end

- (Object) each

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/woodhouse/registry.rb', line 8

def each
  raise NotImplementedError, "subclass Woodhouse::Registry and override #each"
end