Sha256: 6e13652a5f3fd8efe08f66ebbdf89fdd0b5b3a977eb53567e688118e63db6719

Contents?: true

Size: 528 Bytes

Versions: 17

Compression:

Stored size: 528 Bytes

Contents

package rcd_test;

import org.jruby.Ruby;
import org.jruby.anno.JRubyMethod;
import org.jruby.runtime.builtin.IRubyObject;
import org.jruby.anno.JRubyModule;
import org.jruby.runtime.ThreadContext;

@JRubyModule(name = "RcdTest")
public class RubyRcdTest {
    @JRubyMethod(name = "do_something", module = true, meta = true)
    public static IRubyObject buildSelfString(ThreadContext context, IRubyObject recv) {
        Ruby runtime = context.getRuntime();
        return runtime.newString("something has been done");
    }
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rake-compiler-dock-1.8.0 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.7.1 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.7.0 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.7.0.rc1 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.6.0 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.5.2 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.5.1 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.5.0 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.5.0.rc1 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.4.0 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.4.0.rc2 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.4.0.rc1 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.3.1 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.3.0 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.2.2 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.2.1 test/rcd_test/ext/java/RubyRcdTest.java
rake-compiler-dock-1.2.0 test/rcd_test/ext/java/RubyRcdTest.java