Sha256: 3bce2837a8e13dae1ab9f80daf58f3eadef945f4bcdb443be492fd908ffde2c6

Contents?: true

Size: 781 Bytes

Versions: 3

Compression:

Stored size: 781 Bytes

Contents

package jubilee;

import org.jruby.Ruby;
import org.jruby.jubilee.RubyHttpServerResponse;
import org.jruby.jubilee.RubyNetSocket;
import org.jruby.jubilee.RubyPlatformManager;
import org.jruby.jubilee.impl.RubyIORackInput;
import org.jruby.jubilee.impl.RubyNullIO;
import org.jruby.runtime.load.BasicLibraryService;

import java.io.IOException;

public class JubileeService implements BasicLibraryService {
    public boolean basicLoad(final Ruby ruby) throws IOException {
        RubyHttpServerResponse.createHttpServerResponseClass(ruby);
        RubyIORackInput.createIORackInputClass(ruby);
        RubyNullIO.createNullIOClass(ruby);
        RubyNetSocket.createNetSocketClass(ruby);
        RubyPlatformManager.createPlatformManagerClass(ruby);
        return true;
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jubilee-3.0.0.beta2-java src/main/java/jubilee/JubileeService.java
jubilee-2.1.0.rc1-java src/main/java/jubilee/JubileeService.java
jubilee-2.1.0.beta-java java/src/jubilee/JubileeService.java