Sha256: 40bb439c87805925749bc42e59e9b541b30116243bccff7a202aed4b3dd150ea

Contents?: true

Size: 149 Bytes

Versions: 10

Compression:

Stored size: 149 Bytes

Contents

#!/usr/bin/env ruby

require 'json'

STDIN.each_line do |line|
  line.chomp.split('&').map do |pair|
    a, b = pair.split('=')
    puts a
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ix-cli-0.0.27 bin/ix-query-string-to-json
ix-cli-0.0.26 bin/ix-query-string-to-json
ix-cli-0.0.25 bin/ix-query-string-to-json
ix-cli-0.0.24 bin/ix-query-string-to-json
ix-cli-0.0.23 bin/ix-query-string-to-json
ix-cli-0.0.22 bin/ix-query-string-to-json
ix-cli-0.0.21 bin/ix-query-string-to-json
ix-cli-0.0.20 bin/ix-query-string-to-json
ix-cli-0.0.19 bin/ix-query-string-to-json
ix-cli-0.0.18 bin/ix-query-string-to-json