Module: Naether
- Defined in:
- lib/naether/java.rb,
lib/naether.rb,
lib/naether/maven.rb,
lib/naether/runtime.rb,
lib/naether/notation.rb,
lib/naether/bootstrap.rb,
lib/naether/java/ruby.rb,
lib/naether/java/jruby.rb,
lib/naether/configuration.rb
Overview
Defined Under Namespace
Classes: Bootstrap, Configurator, Java, Maven, Notation, Runtime
Constant Summary collapse
- Configuration =
Naether::Configurator.new
Class Method Summary collapse
-
.bootstrap_dependencies(dep_file = nil) ⇒ Object
List of Java dependencies needed to bootstrap Naether.
- .create ⇒ Object
-
.create_from_jars(jars) ⇒ Naether
Loads all jars creates a new instance of Naether.
-
.platform ⇒ Object
Helper for platform detection.
Class Method Details
.bootstrap_dependencies(dep_file = nil) ⇒ Object
List of Java dependencies needed to bootstrap Naether
34 35 36 37 |
# File 'lib/naether.rb', line 34 def bootstrap_dependencies( dep_file=nil ) require "#{File.dirname(__FILE__)}/naether/bootstrap" Naether::Bootstrap.dependencies( dep_file ) end |
.create ⇒ Object
57 58 59 60 |
# File 'lib/naether.rb', line 57 def create require "#{File.dirname(__FILE__)}/naether/runtime" Naether::Runtime.new end |
.create_from_jars(jars) ⇒ Naether
Loads all jars creates a new instance of Naether
51 52 53 54 55 |
# File 'lib/naether.rb', line 51 def create_from_jars( jars ) require "#{File.dirname(__FILE__)}/naether/java" Naether::Java.internal_load_paths( jars ) create end |
.platform ⇒ Object
Helper for platform detection
42 43 44 |
# File 'lib/naether.rb', line 42 def platform Naether::Configuration.platform end |