Class JRubySupport

    • Method Detail

      • log

        public void log​(int level,
                        String message,
                        Object... args)
      • isSupported

        public static boolean isSupported()
      • interpreterInitialization

        public void interpreterInitialization()
      • interpreterGetLoadPaths

        public List<String> interpreterGetLoadPaths()
      • executeScriptHeader

        public void executeScriptHeader​(List<String> codeBefore,
                                        String... paths)
      • fillSysArgv

        public void fillSysArgv​(File filename,
                                String[] argv)
      • interpreterRunScriptletString

        public Object interpreterRunScriptletString​(String script)
      • interpreterTerminate

        public void interpreterTerminate()
      • findErrorSource

        public int findErrorSource​(Throwable thr,
                                   String filename,
                                   int headerOffset)
      • runObserveCallback

        public boolean runObserveCallback​(Object[] args)
        Description copied from interface: IRunnerSupport
        Run callback for observers.
        Specified by:
        runObserveCallback in interface IRunnerSupport
        Parameters:
        args - is array for two elements. First is a callback object. Second is an event.
        Returns:
        true if the callback was ran correctly. False in other cases.