Class: Cottus::Strategy
- Inherits:
-
Object
- Object
- Cottus::Strategy
- Defined in:
- lib/cottus/strategies.rb
Direct Known Subclasses
Instance Method Summary collapse
- #execute(meth, path, options = {}) ⇒ Object
-
#initialize(connections, options = {}) ⇒ Strategy
constructor
A new instance of Strategy.
Constructor Details
#initialize(connections, options = {}) ⇒ Strategy
Returns a new instance of Strategy.
14 15 16 |
# File 'lib/cottus/strategies.rb', line 14 def initialize(connections, ={}) @connections = connections end |
Instance Method Details
#execute(meth, path, options = {}) ⇒ Object
18 19 20 |
# File 'lib/cottus/strategies.rb', line 18 def execute(meth, path, ={}) raise NotImplementedError, 'implement me in subclass' end |