Sha256: 425a8b1cc0b2195067f491bb7bd06d10eb47e06e8a321721394c97b597a7d30f

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

#!/usr/bin/env ruby

if $stdin.tty?
  puts "Some argument crunching..."
else
  exec %{script=`cat;echo; echo '$stdin = $stdin.reopen "/dev/tty";'`; printf "${script}" | pry}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pry-try-0.1.3 exe/pry-try