RubyLanguage implements Language { @Override public Object eval(String toEval) { return runtime().evalScriptlet(toEval); }  @Override void initialize(); @Override synchronized Ruby runtime(); @Override synchronized void shutdown(); @Override Object eval(String toEval); @SuppressWarnings("unchecked") @Override T coerceToClass(Object object, Class<T> toClass);  }
@Test public void testCanEvalCode() { assertEquals("it works!", ruby.eval("puts $:.inspect;require 'ham';Ham.new.biscuit").toString()); }