NewRubyCompileProvider 创建一个ruby语言编译提供程序
()
| 13 | |
| 14 | // NewRubyCompileProvider 创建一个ruby语言编译提供程序 |
| 15 | func NewRubyCompileProvider() *RubyCompileProvider { |
| 16 | return &RubyCompileProvider{ |
| 17 | CodeCompileProvider{ |
| 18 | isReady: false, |
| 19 | realTime: true, |
| 20 | Name: "ruby", |
| 21 | }, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | // Init 初始化 |
| 26 | func (prov *RubyCompileProvider) Init(code string, workDir string) error { |