Class: Contrek::Concurrent::EndPoint
- Inherits:
-
Object
- Object
- Contrek::Concurrent::EndPoint
- Defined in:
- lib/contrek/finder/concurrent/end_point.rb
Instance Attribute Summary collapse
-
#queues ⇒ Object
readonly
Returns the value of attribute queues.
Instance Method Summary collapse
-
#initialize ⇒ EndPoint
constructor
A new instance of EndPoint.
- #inspect ⇒ Object
Constructor Details
#initialize ⇒ EndPoint
Returns a new instance of EndPoint.
5 6 7 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 5 def initialize @queues = [] end |
Instance Attribute Details
#queues ⇒ Object (readonly)
Returns the value of attribute queues.
4 5 6 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 4 def queues @queues end |
Instance Method Details
#inspect ⇒ Object
9 10 11 |
# File 'lib/contrek/finder/concurrent/end_point.rb', line 9 def inspect "EndPoint[#{@queues.size}]" end |