25 26 27
# File 'lib/rubytorrent/typedstruct.rb', line 25 def map_hash a = map { |k, v| yield k, v }.extend(ArrayToH).to_h end