Exemple #1
0
  @Override
  public void load(final Ruby runtime, boolean wrap) {
    RubyRipper.initRipper(runtime);

    runtime.getClass("Ripper").setConstant("Version", runtime.newString(RIPPER_VERSION));

    runtime.defineGlobalConstant("SCRIPT_LINES__", runtime.getNil());
  }