Processing RHTML files will require us to write another Interpreter class that first generates a Ruby script before invoking JRuby.
处理RHTML文件将要求我们编写另一个interpreter类,该类先生成ruby脚本,然后再调用JRuby。
It defines where the compiler and interpreter look for.class files to load.
它定义编译器和解释器应该在何处查找要加载的. class文件。
All you need to do to add support for Ruby is to write an interpreter class and then add an entry to zero.config that associates it with Ruby (.rb) files.
要添加对Ruby的支持,所需做的全部工作就是编写一个解释器类,然后向zero . config添加一个条目以将其与Ruby (. rb)文件关联起来。
应用推荐