[問題] jRuby and sandbox..

作者: shaopin (Brian)   2015-02-22 07:24:02
嗨 請問大家 我想要執行一些"untrusted code"
採用的平台式 jRuby , jruby-sandbox
(https://github.com/omghax/jruby-sandbox)
可是我因為從沒用過Ruby, 我的目的只是想跑
testing ruby code而已
請教一下 我給的那個jruby-sandbox的link裏的
說明basic usage的部分, 他是說要一行一行的嗎?
可以餵一個檔案的嗎
作者: mars90226 (火星人)   2015-02-22 09:53:00
把code都寫在一個檔案,存成rb檔,用jruby去執行

Links booklink

Contact Us: admin [ a t ] ucptt.com