compiler-discord/docker/ruby/run.sh

7 lines
115 B
Bash
Raw Normal View History

mkdir "$CODEDIR" && cd "$CODEDIR"
printf %s "$1" > program.rb
ruby program.rb || true
cd .. && rm -rf "$CODEDIR"