Class: HeapInternal::Pair
- Inherits:
-
Struct
- Object
- Struct
- HeapInternal::Pair
- Defined in:
- lib/data_structures_rmolinari/heap_internal.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
Returns the value of attribute item.
-
#priority ⇒ Object
Returns the value of attribute priority.
Instance Attribute Details
#item ⇒ Object
Returns the value of attribute item
47 48 49 |
# File 'lib/data_structures_rmolinari/heap_internal.rb', line 47 def item @item end |
#priority ⇒ Object
Returns the value of attribute priority
47 48 49 |
# File 'lib/data_structures_rmolinari/heap_internal.rb', line 47 def priority @priority end |