Module: Spark::JavaBridge
- Includes:
- Helper::System
- Defined in:
- lib/spark/java_bridge.rb,
lib/spark/java_bridge/rjb.rb,
lib/spark/java_bridge/base.rb,
lib/spark/java_bridge/jruby.rb
Defined Under Namespace
Classes: Base, JRuby, RJB
Class Method Summary
collapse
included
Class Method Details
.init(*args) ⇒ Object
10
11
12
13
14
15
16
17
18
|
# File 'lib/spark/java_bridge.rb', line 10
def self.init(*args)
if jruby?
klass = JRuby
else
klass = RJB
end
klass.new(*args)
end
|