Sha256: 8f2f84b4b6a85d2dabeef6ac22d8b22c15737af8c81615c82f1588df7b275f4d

Contents?: true

Size: 552 Bytes

Versions: 25

Compression:

Stored size: 552 Bytes

Contents

import org.jruby.Ruby;
import org.jruby.RubyModule;
import org.jruby.anno.JRubyMethod;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;
import org.jruby.runtime.load.Library;
import org.jruby.runtime.load.BasicLibraryService;

import snappy.SnappyModule;


public class SnappyExtService implements BasicLibraryService {
  public boolean basicLoad(final Ruby runtime) {
    RubyModule snappyModule = runtime.defineModule("Snappy");
    snappyModule.defineAnnotatedMethods(SnappyModule.class);
    return true;
  }
}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
snappy-0.4.0-java ext/java/src/SnappyExtService.java
snappy-0.4.0 ext/java/src/SnappyExtService.java
snappy-0.3.0-java ext/java/src/SnappyExtService.java
snappy-0.3.0 ext/java/src/SnappyExtService.java
snappy-0.2.0-java ext/java/src/SnappyExtService.java
snappy-0.2.0 ext/java/src/SnappyExtService.java
snappy-0.1.0-java ext/java/src/SnappyExtService.java
snappy-0.1.0 ext/java/src/SnappyExtService.java
snappy-0.0.17-java ext/java/src/SnappyExtService.java
snappy-0.0.17 ext/java/src/SnappyExtService.java
snappy-0.0.16-java ext/java/src/SnappyExtService.java
snappy-0.0.16 ext/java/src/SnappyExtService.java
snappy-0.0.15-java ext/java/src/SnappyExtService.java
snappy-0.0.15 ext/java/src/SnappyExtService.java
snappy-0.0.14-java ext/java/src/SnappyExtService.java
snappy-0.0.14 ext/java/src/SnappyExtService.java
snappy-0.0.13 ext/java/src/SnappyExtService.java
snappy-0.0.12-java ext/java/src/SnappyExtService.java
snappy-0.0.12 ext/java/src/SnappyExtService.java
snappy-0.0.11-java ext/java/src/SnappyExtService.java