Class: Expert::Jarfile

Inherits:
Object
  • Object
show all
Defined in:
lib/expert/jarfile.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dependencies) ⇒ Jarfile

Returns a new instance of Jarfile.



36
37
38
# File 'lib/expert/jarfile.rb', line 36

def initialize(dependencies)
  @dependencies = dependencies
end

Instance Attribute Details

#dependenciesObject (readonly)

Returns the value of attribute dependencies.



5
6
7
# File 'lib/expert/jarfile.rb', line 5

def dependencies
  @dependencies
end

Class Method Details

.from_path(jarfile_path) ⇒ Object



8
9
10
# File 'lib/expert/jarfile.rb', line 8

def from_path(jarfile_path)
  new(load(jarfile_path))
end