use of gw.lang.Gosu in project cucumber-jvm by cucumber.
the class GosuBackend method loadGlue.
@Override
public void loadGlue(Glue glue, List<String> gluePaths) {
this.glue = glue;
GlueSource source = new GlueSource();
for (String gluePath : gluePaths) {
for (Resource glueScript : resourceLoader.resources(gluePath, ".gsp")) {
source.addGlueScript(glueScript);
}
}
Gosu gosu = new Gosu();
gosu.start(source.toArgInfo());
}