Posted By

banzaiman on 06/04/08


Tagged

textmate ruby jruby platform


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

webstic


Detect JRuby


 / Published in: Ruby
 

  1. if jruby = RUBY_PLATFORM =~ /\bjava\b/
  2. require 'java'
  3. end

Report this snippet  

You need to login to post a comment.