Method: Naether.create_from_jars

Defined in:
lib/naether.rb

.create_from_jars(jars) ⇒ Naether

Loads all jars creates a new instance of Naether

Parameters:

  • jars (Array<String>)

    of paths

Returns:



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