Skip to content

Commit e1b81b4

Browse files
author
Mike Ragalie
committed
JRuby README
1 parent fd91098 commit e1b81b4

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# JRuby Adaptor for RxJava
2+
3+
This adaptor improves the success and performance of RxJava when Ruby `Proc` is passed to an RxJava method.
4+
5+
This enables correct and efficient execution of code such as:
6+
7+
```ruby
8+
Observable.from("one", "two", "three").
9+
take(2).
10+
subscribe {|val| puts val}
11+
```
12+
13+
# Binaries
14+
15+
Binaries and dependency information for Maven, Ivy, Gradle and others can be found at [http://search.maven.org](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22rxjava-jruby%22).
16+
17+
Example for Maven:
18+
19+
```xml
20+
<dependency>
21+
<groupId>com.netflix.rxjava</groupId>
22+
<artifactId>rxjava-jruby</artifactId>
23+
<version>x.y.z</version>
24+
</dependency>
25+
```
26+
27+
and for Ivy:
28+
29+
```xml
30+
<dependency org="com.netflix.rxjava" name="rxjava-jruby" rev="x.y.z" />
31+
```
32+
33+
and for Gradle:
34+
35+
```groovy
36+
compile 'com.netflix.rxjava:rxjava-jruby:x.y.z'
37+
```

0 commit comments

Comments
 (0)