Method: SyntaxSuggest::PriorityQueue#peek
- Defined in:
- lib/syntax_suggest/priority_queue.rb
permalink #peek ⇒ Object
[View source]
46 47 48 |
# File 'lib/syntax_suggest/priority_queue.rb', line 46 def peek @elements.first end |
46 47 48 |
# File 'lib/syntax_suggest/priority_queue.rb', line 46 def peek @elements.first end |