Class: HashQueue::QueueProxy
- Inherits:
-
Object
- Object
- HashQueue::QueueProxy
- Defined in:
- lib/hash_queue/hash.rb
Instance Method Summary collapse
-
#initialize(parent, key) ⇒ QueueProxy
constructor
A new instance of QueueProxy.
- #subject ⇒ Object
Constructor Details
#initialize(parent, key) ⇒ QueueProxy
Returns a new instance of QueueProxy.
100 101 102 103 |
# File 'lib/hash_queue/hash.rb', line 100 def initialize(parent, key) @parent = parent @key = key end |
Instance Method Details
#subject ⇒ Object
105 106 107 |
# File 'lib/hash_queue/hash.rb', line 105 def subject @parent.get_queue(@key) end |