Last active
March 2, 2017 23:38
-
-
Save eval/30ae9fc9f23014eddacf940cbe9400ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# pipe stuff to pry followed by a repl: | |
# gist -r 36b4092748310bc8ec020f5e4dad8ea9 | prype | |
var=`cat;echo; echo '$stdin = $stdin.reopen "/dev/tty";'` | |
printf "${var}" | pry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment