Class: Expert::Jarfile
- Inherits:
-
Object
- Object
- Expert::Jarfile
- Defined in:
- lib/expert/jarfile.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Object
readonly
Returns the value of attribute dependencies.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dependencies) ⇒ Jarfile
constructor
A new instance of Jarfile.
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
#dependencies ⇒ Object (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 |