2014-05-05 22:23:07 +00:00
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
import org.jruby.Ruby;
|
|
|
|
import org.jruby.RubyModule;
|
|
|
|
import org.jruby.RubyClass;
|
|
|
|
import org.jruby.runtime.load.BasicLibraryService;
|
|
|
|
import org.jruby.runtime.load.Library;
|
|
|
|
|
|
|
|
public class LibogaService implements BasicLibraryService
|
|
|
|
{
|
|
|
|
public boolean basicLoad(final Ruby runtime) throws IOException
|
|
|
|
{
|
2014-05-06 20:43:55 +00:00
|
|
|
org.liboga.xml.Lexer.load(runtime);
|
2014-05-05 22:23:07 +00:00
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|