compiler-discord/docker/ruby/run.sh

6 lines
96 B
Bash

mkdir "$COUNT" && cd "$COUNT"
echo "$1" > program.rb
ruby program.rb
cd .. && rm -rf "$COUNT"