Class: Wayfarer::Networking::Pool
- Inherits:
-
Object
- Object
- Wayfarer::Networking::Pool
- Extended by:
- Forwardable
- Includes:
- Singleton
- Defined in:
- lib/wayfarer/networking/pool.rb
Instance Attribute Summary collapse
-
#pool ⇒ Object
readonly
Returns the value of attribute pool.
Instance Method Summary collapse
- #free ⇒ Object
-
#initialize ⇒ Pool
constructor
A new instance of Pool.
Constructor Details
Instance Attribute Details
#pool ⇒ Object (readonly)
Returns the value of attribute pool.
14 15 16 |
# File 'lib/wayfarer/networking/pool.rb', line 14 def pool @pool end |
Instance Method Details
#free ⇒ Object
24 25 26 |
# File 'lib/wayfarer/networking/pool.rb', line 24 def free pool.shutdown(&:renew) end |