Sha256: 7340d40d75025099f7c74978599154276b30110e96a58493fdece49c5d213090
Contents?: true
Size: 247 Bytes
Versions: 26
Compression:
Stored size: 247 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'json' values = ARGV STDIN.each_line do |line| words = line.split(' ') object = {} values.each_with_index do |value, index| object[value] = words[index] end puts object.to_json end
Version data entries
26 entries across 26 versions & 1 rubygems