RxJava bindings for JRuby
Ruby Java
Latest commit 6972d12 Dec 18, 2014 @avsej avsej Merge pull request #5 from ReactiveX/bump-to-2.2
Upgrade to Gradle 2.2


JRuby Adaptor for RxJava

This adaptor improves the success and performance of RxJava when Ruby Proc is passed to an RxJava method.

This enables correct and efficient execution of code such as:

  Observable.from("one", "two", "three").
    subscribe {|val| puts val}


Require the JAR file as usual. After requiring the JAR, you must also require the interop code:

require "rx/lang/jruby/interop"


Binaries and dependency information for Maven, Ivy, Gradle and others can be found at http://search.maven.org.

Example for Maven:


and for Ivy:

<dependency org="com.netflix.rxjava" name="rxjava-jruby" rev="x.y.z" />

and for Gradle:

compile 'com.netflix.rxjava:rxjava-jruby:x.y.z'