private String compile(JoinableResourceBundle bundle, String content, String path, GeneratorContext ctx)
			throws ScriptException, IOException {

		try(InputStream is = getResourceInputStream(JAWR_IMPORTER_RB)){
			String script = IOUtils.toString(is);
			rubyEngine.eval(script);
		}
		
		SimpleBindings bindings = new SimpleBindings();
		JawrSassResolver scssResolver = new JawrSassResolver(bundle, path, rsHandler, useAbsoluteURL);
		bindings.put(JAWR_RESOLVER_VAR, scssResolver);
		String compiledScss = rubyEngine.eval(buildScript(path, content), bindings).toString();
		addLinkedResources(path, ctx, scssResolver.getLinkedResources());
		return compiledScss;
	}
private String compile ( JoinableResourceBundle bundle , String content , String path , GeneratorContext ctx ) throws ScriptException , IOException { try ( InputStream is = getResourceInputStream ( JAWR_IMPORTER_RB ) ) { String script = IOUtils . toString ( is ) ; rubyEngine . eval ( script ) ; } SimpleBindings bindings = new SimpleBindings ( ) ; JawrSassResolver scssResolver = new JawrSassResolver ( bundle , path , rsHandler , useAbsoluteURL ) ; bindings . put ( JAWR_RESOLVER_VAR , scssResolver ) ; String compiledScss = rubyEngine . eval ( buildScript ( path , content ) , bindings ) . toString ( ) ; addLinkedResources ( path , ctx , scssResolver . getLinkedResources ( ) ) ; return compiledScss ; }
Compile the Sass content

@param bundle
the bundle
@param content
the content to compile
@param path
the path
@param ctx
the generator context
@return the compiled Sass content
@throws ScriptException
if a ScriptException occurs
@throws IOException
if an IOExceptions occurs