Sha256: e4b9664afb6fbf97dff7370b364fc5c8fb8c171ec76e19be0d442e5b067b33e1
Contents?: true
Size: 246 Bytes
Versions: 24
Compression:
Stored size: 246 Bytes
Contents
#!/usr/bin/env ruby require 'json' # this script echos the command that invoked it back as a # JSON structure for testing argv = ARGV.clone data = { '$0' => $0, 'ARGV' => argv, 'stdin' => $stdin.read, } puts JSON.pretty_generate(data)
Version data entries
24 entries across 24 versions & 1 rubygems