Class: Torkify::Vim::Quickfix::Stringifier
- Inherits:
-
Object
- Object
- Torkify::Vim::Quickfix::Stringifier
- Defined in:
- lib/torkify/vim/quickfix.rb
Instance Method Summary collapse
Instance Method Details
#convert(enumerable) ⇒ Object
113 114 115 116 117 118 119 |
# File 'lib/torkify/vim/quickfix.rb', line 113 def convert(enumerable) pairs = [] enumerable.each_pair do |n, v| pairs << quote_pair(n, v) end "{#{pairs.join(",")}}" end |