Class: Makara::Strategies::Abstract
- Inherits:
-
Object
- Object
- Makara::Strategies::Abstract
show all
- Defined in:
- lib/makara/strategies/abstract.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(pool) ⇒ Abstract
Returns a new instance of Abstract.
6
7
8
9
|
# File 'lib/makara/strategies/abstract.rb', line 6
def initialize(pool)
@pool = pool
init
end
|
Instance Attribute Details
#pool ⇒ Object
Returns the value of attribute pool.
4
5
6
|
# File 'lib/makara/strategies/abstract.rb', line 4
def pool
@pool
end
|
Instance Method Details
#connection_added(wrapper) ⇒ Object
15
16
17
|
# File 'lib/makara/strategies/abstract.rb', line 15
def connection_added(wrapper)
end
|
#current ⇒ Object
19
20
21
22
|
# File 'lib/makara/strategies/abstract.rb', line 19
def current
Kernel.raise NotImplementedError
end
|
#init ⇒ Object
11
12
13
|
# File 'lib/makara/strategies/abstract.rb', line 11
def init
end
|
#next ⇒ Object
24
25
26
27
|
# File 'lib/makara/strategies/abstract.rb', line 24
def next
Kernel.raise NotImplementedError
end
|