assets/src/org/ruboto/Script.java in ruboto-0.11.0 vs assets/src/org/ruboto/Script.java in ruboto-0.12.0.rc.0
- old
+ new
@@ -103,10 +103,10 @@
/*************************************************************************************************
*
* Instance methods
*/
public String execute() throws IOException {
- return JRubyAdapter.execute(getContents());
+ return JRubyAdapter.runScriptlet(getContents()).toString();
}
boolean exists() {
return getAbsolutePath() != null;
}