Posted By

sai-venkat on 02/19/10


Tagged

ruby jruby clojure concurrency stm


Versions (?)

clojure.rb


 / Published in: Ruby
 

To be used with @headius's http://github.com/headius/cloby/. Follow the build instructions and place clojure.jar and ClojureLibrary.jar in classpath. For more info check out blog post

  1. require "java"
  2. require "ClojureLibrary.jar"
  3. require "clojure-1.0.0.jar"
  4. include_class "org.jruby.clojure.ClojureLibrary"
  5.  
  6. clj_lib = ClojureLibrary.new
  7. clj_lib.load(JRuby.runtime, true)

Report this snippet  

You need to login to post a comment.