News for hackers. Stuff that matters.
Re:Reactive Extensions for Ruby by coolj on Sunday July 21, 2013 @06:28AM (#6078420)
Also...

    Observable.throw(Exception.new("woops!")).subscribe(Class.new(Observer) do
    [...]
    end.new)
http://rxrb.codeplex.com/SourceControl/latest#lib/Rx.rb (bottom)

Even if the method were named sanely and consistently `Observable::on_error`, I still don't want to write code like the above.

BTW, I don't see any class variables in the re-opened Enumerable module.

Re:Reactive Extensions for Ruby by Argorak on Sunday July 21, 2013 @07:33AM (#6078482)
Seperate things. It monkey-patches Enumerable. It uses class variables. But not in the same context. Thanks for finding that.

Yes, the code looks like it is directly taken from Java/C#.