Class: DummyConnection
- Defined in:
- lib/sequel/spec/core/connection_pool_spec.rb
Constant Summary collapse
- @@value =
0
Instance Method Summary collapse
-
#initialize ⇒ DummyConnection
constructor
A new instance of DummyConnection.
- #value ⇒ Object
Constructor Details
#initialize ⇒ DummyConnection
Returns a new instance of DummyConnection.
134 135 136 |
# File 'lib/sequel/spec/core/connection_pool_spec.rb', line 134 def initialize @@value += 1 end |
Instance Method Details
#value ⇒ Object
138 139 140 |
# File 'lib/sequel/spec/core/connection_pool_spec.rb', line 138 def value @@value end |