We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46cab03 commit e1a2efeCopy full SHA for e1a2efe
1 file changed
run
@@ -210,6 +210,9 @@ run() {
210
elif [[ ${FILE#*.} == lua ]]; then
211
lua "$FILE"
212
213
+ elif [[ ${FILE#*.} == rb ]]; then
214
+ ruby "$FILE"
215
+
216
else
217
_ERROR_UFTC_
218
_EXIT_
@@ -240,10 +243,11 @@ for arg in "$@"; do
240
243
echo " ${yellow}>>${white} Golang"
241
244
echo " ${yellow}>>${white} Perl"
242
245
echo " ${yellow}>>${white} Lua"
246
+ echo " ${yellow}>>${white} Ruby"
247
echo
248
;;
249
- *".c" | *".cpp" | *".py" | *".rs" | *".java" | *".sh" | *".js" | *".go" | *".pl" | *".lua")
250
+ *".c" | *".cpp" | *".py" | *".rs" | *".java" | *".sh" | *".js" | *".go" | *".pl" | *".lua" | *".rb")
251
FILE_LOCATION=$arg
252
if [[ ! -f $FILE_LOCATION ]]; then
253
0 commit comments