This adaptor allows org.jruby.RubyProc lambda functions to be used and RxJava will know how to invoke them.
This enables code such as:
Observable.toObservable("one", "two", "three")
.take(2)
.subscribe(lambda { |arg| puts arg })Binaries and dependency information for Maven, Ivy, Gradle and others can be found at http://search.maven.org.
Example for Maven:
<dependency>
<groupId>com.netflix.rxjava</groupId>
<artifactId>rxjava-jruby</artifactId>
<version>x.y.z</version>
</dependency>and for Ivy:
<dependency org="com.netflix.rxjava" name="rxjava-jruby" rev="x.y.z" />and for JBundler:
jar 'com.netflix.rxjava:rxjava-ruby', 'x.y.z'